Home   Help Search Login Register  

Author Topic: trigger question  (Read 538 times)

0 Members and 1 Guest are viewing this topic.

Longstreet

  • Guest
trigger question
« 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.

Knut Erik

  • Guest
Re:trigger question
« Reply #1 on: 09 Apr 2003, 12:14:41 »
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 ;) :)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:trigger question
« Reply #2 on: 09 Apr 2003, 12:15:32 »
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.
Plenty of reviewed ArmA missions for you to play