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: waypoint activated when a trigger is activated  (Read 1385 times)

0 Members and 1 Guest are viewing this topic.

FlyingDuck

  • Guest
waypoint activated when a trigger is activated
« on: 16 Aug 2006, 23:19:54 »
Hey,
Is ther a way to activate a waypoint when a trigger is activated?
I have a boat that drives to the shore. soldiers go out the boat and move futher in the land. I have placed a trigger 200m from LZ. I want to let the boat drive futher when the trigger is activated. Could somebody help?

Offline Pilot

  • Contributing Member
  • **
Re: waypoint activated when a trigger is activated
« Reply #1 on: 16 Aug 2006, 23:41:38 »
Set the trigger to a switch trigger and synchronize the trigger to the waypoint before the one you want activated.

-Pilot

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re: waypoint activated when a trigger is activated
« Reply #2 on: 18 Aug 2006, 17:42:42 »
An alternative that would meet your needs is to have the trigger to set a condition that allow the boat to leave its current WP.

In the WP where the boat disembarks the soldiers put in the Condition field: OkayToGo

In the trigger put the following in the on Activation field:  OkayToGo = true

You could also do this without using a tigger.  In one of the waypoints for the soldiers also put

OkayToGo = true

in the on Activation field.  Once the soldiers leave that WP the boat will then be allow to leave its own WP.