Farnsworth Posted April 17, 2004 Share Posted April 17, 2004 how do i set an NPC to respawn after it is killed? Link to comment Share on other sites More sharing options...
zag Posted April 17, 2004 Share Posted April 17, 2004 you make an npc_spawner, set an npc_type, make a targetname for the npc_spawner, make a npc_target also that is the same as above anything i missed out? Link to comment Share on other sites More sharing options...
stride Posted April 18, 2004 Share Posted April 18, 2004 yeah an npc_spawner give it a targetname and a npc_target for its npc. Make the npc_target the same as the targetname so when the npc dies it fires its target which is its self causing the spawner to make another npc. Make sure you have something else like an info_player_start or whatever to start it off because you need something to start this loop thing.You could use a script which is better for MP so everytime someone dies and spawns again and uses the info_player_start the npc doesnt spawn. Link to comment Share on other sites More sharing options...
Farnsworth Posted April 18, 2004 Author Share Posted April 18, 2004 eh, whats the info_player_start for? what do i do to it for it to work with the npc? Link to comment Share on other sites More sharing options...
zag Posted April 18, 2004 Share Posted April 18, 2004 stride this is for an mp map what he means is you need a trigger orsomething to spawn the first npc because its only set to trigger the npc when one of the npcs dies you could always set up a one time npc thing for example 'NPC_dessan' or whatever and link that to the spawner so when that one dies it fires the npc_spawner Link to comment Share on other sites More sharing options...
stride Posted April 18, 2004 Share Posted April 18, 2004 or you could use a script but vas_zags way might be easier if you dont know your way around BehavEd. Link to comment Share on other sites More sharing options...
Farnsworth Posted April 22, 2004 Author Share Posted April 22, 2004 uh, any way i can just set a button to spawn an npc? Link to comment Share on other sites More sharing options...
zag Posted April 23, 2004 Share Posted April 23, 2004 hm the way im thinking is targeting a trigger_multiple to the spawner i think i tried this before and only spawned once but not anymore i dunno why Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.