Home   Help Search Login Register  

Author Topic: Trigger problems - See if anyone is dead  (Read 576 times)

0 Members and 1 Guest are viewing this topic.

Knut Erik

  • Guest
Trigger problems - See if anyone is dead
« on: 02 Mar 2004, 17:54:53 »
How can I make a trigger go off if one in the trigger is killed?
In my mission you are a spy in a base and the only way that a unit can be killed is if the player kills him.

So.. I want the trigger to go off if anyone on the EAST side that are in the trigger is killed...




I hope I make myself clear  :)

Djoker

  • Guest
Re:Trigger problems - See if anyone is dead
« Reply #1 on: 02 Mar 2004, 18:25:30 »
put it on: Not Present

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Trigger problems - See if anyone is dead
« Reply #2 on: 02 Mar 2004, 18:30:14 »
He means if ONE of them is killed, not all of them.

Is this a known bunch of units?   What is the chance of east loons leaving/joining the trigger area?  

If there is only a few of then then it will probably be easiest just to use some not alive commands.
Plenty of reviewed ArmA missions for you to play

Knut Erik

  • Guest
Re:Trigger problems - See if anyone is dead
« Reply #3 on: 02 Mar 2004, 18:38:39 »
There is no chance that anyone EAST will join or leave the area..
There is 31 units in the trigger.

Hope this helps a bit.. :)
Thanks for the fast answers
« Last Edit: 02 Mar 2004, 18:39:34 by Knut Erik »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Trigger problems - See if anyone is dead
« Reply #4 on: 02 Mar 2004, 18:50:24 »
In that case count them.    If the count hits 30, bingo.

Activation:  east present
Condition:   count thislist <= 30
On activation:  whatever

would that do it?

Or better 2 trigs

Activation:  east present
Condition:  true
On activation:   eastList1 = count thislist

Activation: east present
Condition:   count thislist < eastList1
On activation: whatever

Syntax etc not guaranteed.  
Plenty of reviewed ArmA missions for you to play

Knut Erik

  • Guest
Re:Trigger problems - See if anyone is dead
« Reply #5 on: 02 Mar 2004, 19:44:52 »
Yes! That did it!
Thanks a lot macguba!

:cheers:

*Topic solved and locked*