Announcement

Collapse
No announcement yet.

Dual trigger conditions

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dual trigger conditions

    How would I set up a trigger so that
    If "Bluclear" AND "redpresent" are true
    then end #1



  • #2
    Re: Dual trigger conditions

    "Scripted"
    1. Place a repeatedly activated "bluefor present"-trigger with
      onActivation:
      Code:
      bluefor_present = true;
      onDeactivation
      Code:
      bluefor_present = false;
    2. Place a repeatedly activated "redfor not present"-trigger with
      onActivation:
      Code:
      redfor_notpresent = true;
      onDeactivation:
      Code:
      redfor_notpresent = false;
    3. Place a trigger with type set to end #1 and Condition set to:
      Code:
      bluefor_present and redfor_notpresent


    That's the "scripted" way. I'm gonna post the gamelogic-way next

    Gamelogic
    1. Place a gamelogic somewhere on the map
    2. Place one waypoint for the gamelogic somewhere near it with waypointtype set to "AND"
    3. Place another waypoint some distance from the first one. Type can be either "AND" or "OR"
    4. Place the repeatedly activated "bluefor present"-trigger and synchronize it with the first waypoint
    5. Place the repeatedly activated "opfor not present"-trigger and synchronize it with the first waypoint
    6. Place a one-time activated trigger with the type end#1 in a way that it covers the second waypoint. Group it to the gamelogic and change the activation to "Vehicle present".

    Comment


    • #3
      Re: Dual trigger conditions

      I'm kinda in simalar boat to as i wanna have reiforcments come once say the enemy forces lose so many then say a cpl trucks loaded with inf move in. But not sure how to do it.
      "It doesn't take a hero to order men into battle. It takes a hero to be one of those men who goes into battle."
      "To show you what a difference retirement makes. Last year when I gave an order, 541,000 men and women jumped," he explained. "Now I can't even get the plumber to come over."
      Norman Schwarzkopf

      Comment

      Connect

      Collapse

      TeamSpeak 3 Server

      Collapse

      Advertisement

      Collapse

      Twitter Feed

      Collapse

      Working...
      X