OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: BHD Mod on 21 Jun 2004, 06:14:05
-
What can i put into the condition field of a trigger that would activate it if a certain number of east units are killed? Also, how can i make all east units on a map play an animation at the same time? Thanks in advance
-
1)
init.sqs
EStart=10000000
Area: whole map
Activation box: east present
Condition: true
On Activation: EStart = count thislist
Area: whole map
Activation box: east present
Condition: (count thislist) <= (EStart - 35)
On activation: whatever
2) Trigger
Area: whole map
Activation box: east present
Condition: this and whatever
On activation: "_x switchmove {whatever}" forEach thislist
Syntax not guaranteed.