OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Longstreet on 09 Apr 2003, 12:08:15
-
i want to set off a waypoint move by having a triggers condition met, the condition is "no enemy units present" which is working but how do i set off 2 tanks (1 group) to move to the waypoint when the condition is met?
the trigger is called 'trig1'
i have tried adding 'trig1=true' in the condition box of the waypoint (without the two ' ' ) but i get message saying 'unknown operator' what am i doing wrong?
thanx.
-
Here is what you do :
Create a trigger that coveres over the enemy forces.
East Not Pressent
On Activation : Gogo=true
Then in the tanks wp's Condision field : Gogo
This will make the tanks wait until Gogo=true.
Just remember to put gogo=false somewhere. In your init.sqs for exsample..
:-* :D ;) :)
-
There are several ways. Here are two.
Make your trigger type Switch. Now synchro it with the waypoint before the one you want the tanks to move to. So the waypoint sequence for the tanks may look like this
MOVE
HOLD <------ synchro the trigger with this WP
MOVE
Alternatively, you could use a variable. In the On activation field of the trigger write
trig1=true
The waypoint sequence would now look like this
MOVE
MOVE in this WP write trig1 in the condition field
MOVE
Hope that helps.