Forum
Maps/Editor
Respawning NPCs
Respawning NPCs
3 replies
1

env_npc triggers its triggers when the related NPC is killed. Moreover when it is triggered, it spawns a new NPC.So you can even do respawning very easily with the editor only: Just enter the same name/value for the name and for the trigger field of the NPC. This basically means: The entity will trigger itself when its NPC is killed, making it spawn a new NPC.
Note that if you want to do this with multiple NPC entities, you have to choose unique names for each entity otherwise ALL will spawn new NPCs if ANY NPC is killed.
1

Offline