OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Faculty on 30 Sep 2002, 04:38:04

Title: Making a Trg Activate when Injured
Post by: Faculty 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........ :)
Title: Re:Making a Trg Activate when Injured
Post by: Sui 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
Title: Re:Making a Trg Activate when Injured
Post by: Azraell on 07 Oct 2002, 17:39:55
hey thanks for the info Sui :D