OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Lucky Ed on 22 Mar 2004, 19:11:39
-
I'm makeing a mission where one of the objectives is to destroy a vehicle depot.
I've got at trigger with "1" objStatus "done" that is activated when a empty vehicle is destroyed
But I need the trigger to activate when All the empty vehicles are destroyed.
The problem: empty vehicles can't be grouped, so I can't use a "whole group" trigger. What to do?
-
In the ON ACTIVATION fiel of the trigger put
(!alive unit1) && (!alive unit2) && (!alive unit3) etc...
Just remember to replace the names unit1, unit2, and unit3 in my example with the name of the vehicles you want destroyed
-
Shouldn't it be in the "condition" field?
If it should activate the trigger it wouldn't work in the activation field... would it?
-
Yes, he meant the condition field.
-
Yea, I ment condition field. My mistake :P
-
Thanks mate! It worked perfectly ;D