Home   Help Search Login Register  

Author Topic: TRIGGERS  (Read 1218 times)

0 Members and 1 Guest are viewing this topic.

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
TRIGGERS
« on: 27 Jun 2004, 19:01:13 »
Hello Everyone, My question is, how do you get a mission to end using triggers when at the start of the mission, 'you the player", are in the town, then after all objectives are complete, you have to return back to the same town and make the mission end? Now you can't use West, Present "end1" in the town becuase that will just make the mission end right when the mission starts.  So if anybody could help me out that would be great, thanks.  ???,  ;D
Who's hyped for Arma4, long live Arma!

Mr.BoDean

  • Guest
Re:TRIGGERS
« Reply #1 on: 29 Jun 2004, 08:40:37 »
Hi Jay,
   There are several ways you can do this. First off, I'd recommend downloading and printing as many of the mission- making tutorials in the EDITOR'S DEPOT as possible. It's where I started and found many of the basics covered.  ;)


That said, you can use variables in your triggers to be linked later.
Troops  Start in Monroe, let's say

Trig1 "Take Lipany"
East - Not present
On Activation: papabear sidechat "Good work, men. Now let's go blow up some Commie tanks!"; TakeLip = true

Trig2 "Kill Tanks"
Condition: ! (alive ETank1) AND ! (alive ETank2) AND ! (alive ETank3)
On Activation: TanksDead = true

Trig3 "Evac at Monroe"
Type: End1
West - Present
Condition: this AND TakeLip AND TanksDead  

Trig 3 will make sure the other 2 objectives are done before it triggers. :)

Also, you'll  want to add these lines to your Init.sqs:
TakeLip = false
TanksDead = false

 8)

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
Re:TRIGGERS
« Reply #2 on: 29 Jun 2004, 15:58:50 »
Alright, thanks for your help, this should get me to where i need to go.
Who's hyped for Arma4, long live Arma!

sith

  • Guest
Re:TRIGGERS
« Reply #3 on: 29 Jun 2004, 16:42:11 »
how do you do this, instead of one unit you choose all east units, is it possible?? /sith