uh spawning enemies script? -1 reply

Please wait...

Stormtrooper595

Wants more blasters

50 XP

18th January 2009

0 Uploads

17 Posts

0 Threads

#1 9 years ago

Is there a way in gtkradiant to make like a stormtrooper spawn by a timer but will only respawn if it died? I would like to know how this is possible thanks! so like the enemie will respawn ever 10 seconds if dead.




NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#2 9 years ago

Check your entity window. i think if you add a target to the spawner, it will fire the target when the NPC dies. If it does, target it at a target_delay with a 10 second wait.

If not, you'll probably want to script this one.




Stormtrooper595

Wants more blasters

50 XP

18th January 2009

0 Uploads

17 Posts

0 Threads

#3 9 years ago

thanks im sorta new with map editing but ive gotten to understand the basics so ill see what i can do :)




Stormtrooper595

Wants more blasters

50 XP

18th January 2009

0 Uploads

17 Posts

0 Threads

#4 9 years ago

So if i wanted it to spawn a stormtrooper do i need to add an npc stormtrooper to the map or what. And what would i put in the target slot or w/e




NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#5 9 years ago

Yes, npc_stormtrooper should work. Just make a trigger that targets it via target and targetname.