Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Making a Trg Activate when Injured
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
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........
Logged
Sui
Former Staff
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
Logged
Azraell
Guest
Re:Making a Trg Activate when Injured
«
Reply #2 on:
07 Oct 2002, 17:39:55 »
hey thanks for the info Sui
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Making a Trg Activate when Injured
Top of page