acewombat Posted October 14, 2002 Share Posted October 14, 2002 How can I make a trigger that spawns all the entities in a room instead of creating a trigger for every NPC in that room. Do I just give all the entities in the room the same targetname, I figured that wasn't the case though because I assumed there was no way for the compiler to distinguish between them. Or does it matter? Link to comment Share on other sites More sharing options...
Blaster Posted October 14, 2002 Share Posted October 14, 2002 Create 1 trigger and make it a trigger once. Then select it and select an npc. Then press ctrl and K. Then from that npc link the next one using ctrl and K to another npc and keep doing it until all your NPCs are connected to each other. Hope this helps. Link to comment Share on other sites More sharing options...
Leslie Judge Posted October 14, 2002 Share Posted October 14, 2002 I gave the same targetname to all NPCs in the room and used a trigger once and it worked fine. I think connecting something AFTER an NPC will be fired when that NPC dies. Link to comment Share on other sites More sharing options...
idontlikegeorge Posted October 15, 2002 Share Posted October 15, 2002 yeah i was testing this, i just selected the trigger first, then a bunch of npcs, then pressed crtl-k, and it works Link to comment Share on other sites More sharing options...
lassev Posted October 15, 2002 Share Posted October 15, 2002 Although it may be out of the scope of this guestion, it's still worth mentioning that NPCs with the same targetname can have different NPC_targetnames. What comes to the same targetname, we all know that one stormtrooper is quite as stupid as the next in the row, so why distinguish between them (a lousy joke...). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.