Triger Help...
Oct 16 2010, 6:45 pm
By: apachidoo  

Oct 16 2010, 6:45 pm apachidoo Post #1



Hello!

Guys, I need some help with the TRIGERS for a map...Isnt there any TRIGER that can stop the action of another TRIGER?

Thanx :)



None.

Oct 16 2010, 7:10 pm Roy Post #2

An artist's depiction of an Extended Unit Death

No, there is no trigger action to stop another trigger that is currently running.

You can, however, make a trigger action change a condition (i.e. Set Switch) so that another trigger with said condition (i.e. Switch is Cleared) will no longer run.

If you want to interrupt a trigger that is currently running, you would have to split the trigger into multiple triggers.

Here's an example of what I described above:

Trigger
Players
  • Player 1
  • Conditions
  • Switch 1 is Cleared
  • Actions
  • Kill all [men] for Player 1 at DeadlyLocation
  • Preserve Trigger

  • Trigger
    Players
  • Player 1
  • Conditions
  • Player 1 brings at least 1 Terran Marine to StopLocation
  • Actions
  • Set Switch 1


  • In the above example, all men owned by player 1 will die when brought to DeadlyLocation until he has brought a marine to StopLocation. Once the marine is brought to StopLocation, Switch 1 is set, and the other trigger's conditions are no longer met, and therefore the trigger won't run.

    Hope this helps. Post more information if this doesn't solve your dilemma.




    Oct 25 2010, 12:43 am Tempz Post #3



    A way to stop a trigger is by having said trigger you want with a switch...

    A Condition of the trigger has to be Switch 1 is Set (or any number really)
    If you want to stop it run another trigger so that when you want it Action is Switch 1 is Clear

    If you run out of switches (255 of them) you can make death triggers...
    A death trigger goes by having a unused unit's death count be set to a number you want and when it is set you can detect it though triggers.



    None.

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [02:41 am]
    Oh_Man -- i used to play TF2 competitive in that clan, and also was PR manager (ie: i wrote all the website posts)
    [02:41 am]
    Oh_Man -- another fun fact iaguz actually joined the clan i was part of - Frenetic Array
    [02:40 am]
    Symmetry -- Human memory is a fragile, fallible thing
    [02:39 am]
    Oh_Man -- i realised all his shit was halluc and i wiped out his measly army of fake hallucs and he called GG - yeah thts wat actually happened damn false memory strikes again
    [02:38 am]
    Oh_Man -- i was zerg, the toss guy did a bunch of hallucinates, and i was like, welp, i guess i'm dead, but i have that mindset of never giving up, so attacked him anyway, then tht was wen
    [02:38 am]
    Oh_Man -- coz i was actually a zerg main, so wat ACTUALLY happened was a complete reverse of this
    [02:37 am]
    Oh_Man -- i found an old comment of mine i actually think the idra thing over-ride my own memory
    [02:22 am]
    Symmetry -- was it idra
    [01:52 am]
    NudeRaider -- Oh_Man
    Oh_Man shouted: and i went on to win the tournament, and a pair of steelseries headphones. i even reember how i won the final match - hallucinated a fck-tonne of units and my opponent thought i had way more than he did and GGed
    classic
    [02:56 pm]
    Oh_Man -- long story short - patience is a virtue!
    Please log in to shout.


    Members Online: Symmetry, Oh_Man