OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Kammak on 14 Feb 2004, 00:44:49
-
Greetings!
I'm trying to use the "Condition" field in a waypoint. I thought a waypoint would only become active if the condition evaluates to true...but in both the Preview and PBO version the conditions seem to be ignored and the waypoints just appear in the order they were placed.
Example: here is one condition that is either ignored or incorrectly evaluates to TRUE:
"!(alive vShilka1) and !(alive vShilka2) and !(alive vShilka3)"
My thought was that the waypoint would not appear until all three vehicles were destroyed...but it just appears as soon as the player gets to the previous waypoint.
Any help is appreciated!
Kevin
-
That's not the way it works. The next waypoint will not appear until the conditions are satisfied on the one before it.
-
Doh. Thank you very much! I just reworked it the proper way and everything works perfectly!
Thanks!
:-[