OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: delloc on 12 Feb 2004, 21:23:10
-
Ok this is probably a simple answer, but here is my situation:
2 Triggers, both link to 2 different squads.
Each are designed to go off when the squad is eliminated..
Whole Group --- NOT PRESENT
Basically I want to link the two so that the second trigger will not "execute" until the first trigger is TRUE
I have tried to put X=1 in the first switch (On Activation)
and X=1 in the condition filed on the second trigger.
to date nothing works..
Any Ideas?
Thanks
-
Try dead = true in 1s on activation and in the other put Dead in the condition.
-
Ok tried and it did not work right :-\
Put dead = true in 1st trigger On Activation
put dead in the condition of the second trigger
AS soon as group one dies (Trigger One works),
The second script immediatly (Without even waiting for itselfs condition to be met) executes the script ::)
-
Something I just Learned.....
If you use the Condition field, it ignores the trigger....
SO putting dead in the Condition field it will test "dead" not the trigger!!!!
Crazy ???
-
You need to have
this && dead
in the Condition
-
If you put dead in the condition field of the second trigger then the condition will be true once trigger 1 has fired.
Trigger 2 will then do its thing.
If this is to run a script, then it will run the script.
Planck
-
I bow to you!!!!!!! :D
THANKS!!!!!!!!!!!!!