Home   Help Search Login Register  

Author Topic: Dead body detection  (Read 438 times)

0 Members and 1 Guest are viewing this topic.

j-man

  • Guest
Dead body detection
« on: 29 Nov 2003, 19:22:52 »
Ok, im trying to find out if there is a way to make units detect if another unit is dead. Like when a guy dies in a certain area all the other soldiers in the area become aware.

Any ideas? ???

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Dead body detection
« Reply #1 on: 29 Nov 2003, 20:09:27 »
Two parts to this question.

Firstly, the condition line of the trigger - in other words, who is getting shot.   You can detect this in various ways, depending on  what you are trying to do.

(not alive loon1) or (not alive loon2)

or

(count units grp1) + (count units grp2) < 11

If you have say East present in the Activation box then you might have

count units thislist < 15


Secondly, the On activation line of the trigger.     You could havea switch trigger switching the relevant groups into a new waypoint and not bothering with an on activation line.   Alternatively, you could have something like

"_x setBehaviour {aware}" forEach thislist

in which case you would need to have the Activation box set to east/west present, whoever you wanted to go aware.

Syntax not guaranteed.


Plenty of reviewed ArmA missions for you to play

j-man

  • Guest
Re:Dead body detection
« Reply #2 on: 29 Nov 2003, 21:31:09 »
Problem solved!

Thanks macg works great :)