OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: FlyingDuck on 16 Aug 2006, 23:19:54

Title: waypoint activated when a trigger is activated
Post by: FlyingDuck 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?
Title: Re: waypoint activated when a trigger is activated
Post by: Pilot 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
Title: Re: waypoint activated when a trigger is activated
Post by: THobson 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.