Diskmaster Posted July 30, 2009 Author Share Posted July 30, 2009 How do u make it check if a cirtain NPC is dead, then spawns two NPCs (scriptspawnNPC) close to where u r.I have the scriptspawnNPC dun, but it needs to run a check if the boss monster (that u just killed) is dead before it spawns the NPCsAny help? Link to comment Share on other sites More sharing options...
Owen F Posted July 30, 2009 Share Posted July 30, 2009 go to NPC on death subadd this code```If NPCNum = (boss npc number here) Then``` Link to comment Share on other sites More sharing options...
Diskmaster Posted July 30, 2009 Author Share Posted July 30, 2009 Wow, that was fast! It works fine, now how do I un-spawn them when I kill them? Link to comment Share on other sites More sharing options...
Owen F Posted July 31, 2009 Share Posted July 31, 2009 They should just disappear when you kill them, because i don't think they are bound by the map.However it may be more complex than that, if it is, i will figure it out for you. Link to comment Share on other sites More sharing options...
Mr. Bob Firefarter Posted July 31, 2009 Share Posted July 31, 2009 I'ma gonna use something like this for KO.The boss continues to split into 2, the 3 then 4, and so on, until 100. Link to comment Share on other sites More sharing options...
Bobosk Posted July 31, 2009 Share Posted July 31, 2009 you can either run it on a timer, or once they kill those two npc's(use ini's to tell if they've killed both), you just scriptspawn set it to 0, should work fine Link to comment Share on other sites More sharing options...
Diskmaster Posted July 31, 2009 Author Share Posted July 31, 2009 EDIT: Oh, that simple? ty guys! Link to comment Share on other sites More sharing options...
Owen F Posted July 31, 2009 Share Posted July 31, 2009 @Bobosk:> you can either run it on a timer, or once they kill those two npc's(use ini's to tell if they've killed both), you just scriptspawn set it to 0, should work fineThat is true. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now