darthplite Posted February 11, 2003 Share Posted February 11, 2003 How would you make an npc spawn after another dies? Like in the ladder when you kill one group of npc another spawns. Any help would be great. Link to comment Share on other sites More sharing options...
Tigris Posted February 11, 2003 Share Posted February 11, 2003 I think I heardthe following: You write a script which includes the "ondeath" argument, then you can trigger the spawning of several/another npc's... Hope I'm right about that! Link to comment Share on other sites More sharing options...
darthplite Posted February 11, 2003 Author Share Posted February 11, 2003 wha? Link to comment Share on other sites More sharing options...
Dea Posted February 11, 2003 Share Posted February 11, 2003 an npc fires it's NPC_target when it dies, so make one NPC with key: NPC_target Value: iamdead and another with key: targetname value: iamdead now when the first one dies, the second spawns. If you want a second NPC to spawn after a wave of NPC's you need to use a target_counter. P.S. next time, please use the search option, this has already been explained, you can find search at the top of the page. Link to comment Share on other sites More sharing options...
darthplite Posted February 12, 2003 Author Share Posted February 12, 2003 ok thanx i'll try that. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.