View Full Version : How do i make a trigger spawn an enemy?

06-14-2002, 08:37 PM
ok i wana make an button that will throw in a reborn each time it is used (making a practise map like the ladder one(REALLY COOL MAP))so i tied the button to a triger but how do i make the trigger spawn the enemy each time?do i give it a target and the enemy a targetname?is there a flag?
and is there a good entity tut. on jk2 cause i only got Q3 realated tuts(i know its almost the same but its ALMOST the same)

06-14-2002, 11:15 PM
I know it's not quite the same but I got an NPC to spawn when you walked into a trigger, so I guess what I did was just a more simple version of what you wana do. I had the trigger, and the NPC entity, then I selected them both, hit Control-K to link the two entities, and the NPC then did not appear until I walked into the trigger. Using a different sort of trigger, maybe trigger_multiple, you might be able to do what youre looking for.

06-16-2002, 07:55 AM
Even if it doesnt help thanx cause i never had a reply in any of my thread...
*puts Kengo on Xmas list* :)

06-16-2002, 08:19 AM
well why don't you have a button trageting the trigger that will spawn one, or maybe you can make a script that will do that npc_spawn cheat, thats for unlimited amount of reborn

not sure if that helps sry

06-17-2002, 03:25 AM
dood! the script idea is really good!but how do i make the script?
oh well...practise makes best(whatever)