Home   Help Search Login Register  

Author Topic: Making a Trg Activate when Injured  (Read 880 times)

0 Members and 1 Guest are viewing this topic.

Faculty

  • Guest
Making a Trg Activate when Injured
« on: 30 Sep 2002, 04:38:04 »
Whats is it to detect an injured Ai or whoever to activate a trigge i know how to do it just not the command line


          thanx........ :)

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Making a Trg Activate when Injured
« Reply #1 on: 30 Sep 2002, 05:52:42 »
Try:

Condition field: getdammage unit > 0

or if you want to detect if a range of AI units are injured:

Condition Field: "getdammage _x > 0" count [ unit1,unit2...etc.] > 0

Just add the units you want to 'scan' into the array there

Azraell

  • Guest
Re:Making a Trg Activate when Injured
« Reply #2 on: 07 Oct 2002, 17:39:55 »
hey thanks for the info Sui :D