Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Using conditions in a waypoint  (Read 609 times)

0 Members and 1 Guest are viewing this topic.

Kammak

  • Guest
Using conditions in a waypoint
« 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

deaddog

  • Guest
Re:Using conditions in a waypoint
« Reply #1 on: 14 Feb 2004, 00:59:38 »
That's not the way it works.  The next waypoint will not appear until the conditions are satisfied on the one before it.  

Kammak

  • Guest
Re:Using conditions in a waypoint
« Reply #2 on: 14 Feb 2004, 01:07:17 »
Doh.  Thank you very much!  I just reworked it the proper way and everything works perfectly!

Thanks!
 :-[