Home   Help Search Login Register  

Author Topic: Respawn and "Foreachunit"  (Read 663 times)

0 Members and 1 Guest are viewing this topic.

TC

  • Guest
Respawn and "Foreachunit"
« on: 24 Oct 2005, 13:44:17 »
hello all

I am making a mission in which the player and his team face respawning enemies, using ajm's respawn script. In this mission, i have also used a bulletcam script and death cam script which has a random chance of being activated each time a unit fires or is killed.

my problem is trying to get the respawning unis to have the "killed" and "fired" event handlers in thier init fields, as obviously they dont have one. I have tried using "foreachunit in group this" on a trigger which covers the entire map, and is activated by any units repeatedly, so basically, anybody tht dies or fires on the map executes a script. But i cant get the respawning units to use the eventhandlers!!

Can anyone help?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Respawn and "Foreachunit"
« Reply #1 on: 24 Oct 2005, 14:52:20 »
Duplicate topic.

One topic per question please TC.   ;)

All replies to  here.

*Locking*

Planck
« Last Edit: 24 Oct 2005, 14:53:00 by Planck »
I know a little about a lot, and a lot about a little.