Home   Help Search Login Register  

Author Topic: trigger activated Only after..  (Read 684 times)

0 Members and 1 Guest are viewing this topic.

PENNYWISE

  • Guest
trigger activated Only after..
« on: 19 Dec 2002, 05:13:19 »
Hi again :)

Well, here's my question..

lets say i have 2 triggers, and i want the second one ONLY to be activated after i've entered the first one..do you get my point? :)


Next question (similiar)

I'm making a mission with 3 squads(Alpha,Bravo,Charlie)
(Alpha is the players squad)
which all has to enter their FUP's(Form Up Position)
and over each FUP ive put a trigger that executes a radio script for each FUP (Alpha radio for Alphao FUP and so on)
Then when All FUP's are activated i have another Radio script..

Now: I would like to know how to make the editor skip AlphaRadio.sqs (Alphas radio script, duh) IF squad Bravo and Charlie is in FUP Before Alpha, and exec a different script.

I'm sorry if explained kinda bad, a bit tired :P

Well thanks in advance.

Wolf

  • Guest
Re:trigger activated Only after..
« Reply #1 on: 19 Dec 2002, 05:29:45 »
1. In the On Avtivation line of your first trigger, add a condion, doesn't matter what it is, just something like this.

Nexttrigg = true

Nexttrigg can be pretty much any word you want.
and in the second trigger, put

This and nexttrigg

in the Condition line of the trigger.
This  being the settings on the trigger, so if its west present, it wont go off until the first condtion is met, and a west unit is present.

You can also use this to activate a delayed trigger, say you wanted a radio message to come up 5 seconds after you hit the first trigger, you just use a condition, and in the second trigger, set it to something like civilian not present, and 5 in each slot, alter as needed.

Plus you can use as many conditions as you like in a condition line of the trigger.
ex.
This and radiocon1 and armor2

and so on
also works
radiocon1 and armor2

plus  ;)
you can also use
Not (alive unitname) and Not (alive unitname1) . . .

as for the second, I'm not sure, someone else can help there.

PENNYWISE

  • Guest
Re:trigger activated Only after..
« Reply #2 on: 19 Dec 2002, 05:37:48 »
Hiya Wolf. Thanks for answering my First question :)