OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: angusjm on 06 Sep 2002, 19:46:39

Title: "OR" sinchronisation
Post by: angusjm on 06 Sep 2002, 19:46:39
If you sinchronise a waypoint with two triggers, the waypoint will not be completed until both the triggers are active.  How do you make it that the waypoint waits until one of the triggers is active and not both?
Title: Re:"OR" sinchronisation
Post by: Chris Death on 06 Sep 2002, 20:29:05
You could syncronize the waypoint with a waypoint of a
gamelogic, and the previous waypoint of this gamelogic,
you syncronize with the two triggers.
Then select OR as type of this wayoint instead of default AND

~S~ CD
Title: Re:"OR" sinchronisation
Post by: DeusRich on 07 Sep 2002, 12:42:30
a simpler way is to make a trigger, and type in its condition:

nameoftrigger1 = true OR nameoftrigger2 = true

and then sync that trigger with your waypoint - i just think it's a bit easier....
Title: Re:"OR" sinchronisation
Post by: Chris Death on 07 Sep 2002, 15:46:28
Quote
i just think it's a bit easier....

lol - DeusRich, we could discuss, what is easier now  :D

I think, both ways are easy, if you know what to do.  ;)

btw - instead of syncronizing the waypoint with the two
triggers, you could also type the condition, DeusRich wrote
above, into the condition field of the wayoint itself.
This would at least make one trigger less.

~S~ CD
Title: Re:"OR" sinchronisation
Post by: angusjm on 07 Sep 2002, 17:44:53
Thanks.