Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Activating a trigger by using another trigger

  1. #1

    Activating a trigger by using another trigger

    Hello guys, I didn't find anything for this issue. I want that a trigger get activated only when 2-3 other triggers activates (not at the same time). How to do that?

  2. #2

  3. #3
    Ha, ninja'd by Prof, but if you want to activate trigger1 upon trigger2 and trigger3 being tripped, then in the Condition field of trigger1 type:

    triggeractivated trigger2 and triggeractivated trigger3

    From there you can add more etc.
    Fire And Smoke for ArmA2: JTD_FireAndSmoke v0.2

    For better future effects addons, please vote for this ticket.

  4. #4
    Ok thanks

  5. #5
    why not just synchronize the 3 triggers to that trigger? does the same thing.

    I also say try playing around with gamelogic AND and OR waypoints, have a gl AND waypoint synched to all thetriggers, and in act code type whatever u need

  6. #6
    can you synch triggers to triggers if so never figured out how.

  7. #7
    Nope tried that about 10 mins ago.

  8. #8
    name all your trigger ie trig1, trig2, trig3

    place then in a n array
    PHP Code:
     arraytrig = [trig1,trig2,trig3
    in the main trigger

    cond
    PHP Code:
    triggeractivated _xcount arraytrig 

    on act
    PHP Code:
    hint "At least two triggers activated" 
    result would be that you need at least any two of three triggers to have activated

    I think you can just create the array in the trigger condition

    PHP Code:
    triggeractivated _xcount [trig1,trig2,trig3] > 
    Last edited by F2k Sel; Aug 6 2012 at 12:05.

  9. #9
    Quote Originally Posted by F2k Sel View Post
    name all your trigger ie trig1, trig2, trig3

    place then in a n array
    PHP Code:
     arraytrig = [trig1,trig2,trig3
    in the main trigger

    cond
    PHP Code:
    triggeractivated _xcount arraytrig 

    on act
    PHP Code:
    hint "At least two triggers activated" 
    result would be that you need at least any two of three triggers to have activated

    I think you can just create the array in the trigger condition

    PHP Code:
    triggeractivated _xcount [trig1,trig2,trig3] > 
    If you didn't put it in the trigger and did it the first way you said it, where would you put the array (arraytrig = [trig1,trig2,trig3])?

  10. #10
    You can place it in the init box of any object, unit or gamelogic. You can also place it in an init.sqf file which you create and save your self, this will run automatically every time the mission is run.

Page 1 of 2 12 LastLast

Similar Threads

  1. Satchel activating trigger
    By Bunny75 in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 4
    Last Post: Sep 23 2010, 12:24
  2. Trigger Activating Trigger
    By Unkn0wn in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 2
    Last Post: Jan 28 2010, 23:39
  3. Activating a Trigger.
    By Leving in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 1
    Last Post: Aug 23 2009, 20:55
  4. Activating a trigger causes a unit to appear
    By heywheresmysnack in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 18
    Last Post: Jul 21 2009, 13:11
  5. Activating a Trigger with a trigger
    By Longbow194 in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 6
    Last Post: Aug 10 2007, 04:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •