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.
    [07:32 pm]
    Zoan -- I got $2000 bonus. I would like 2000 minerals, please
    [2026-4-16. : 4:15 am]
    DarkenedFantasies -- you eat lots of beans
    [2026-4-16. : 3:46 am]
    IskatuMesk -- how do i get gas
    [2026-4-15. : 11:43 pm]
    Moose -- you don't
    [2026-4-15. : 10:06 pm]
    Zoan -- how do i get minerals
    [2026-4-14. : 11:45 pm]
    ClansAreForGays -- Anyone wanna played Skewed StarCraft?
    [2026-4-14. : 12:07 am]
    Vrael -- NudeRaider
    NudeRaider shouted: Vrael ranting still is though
    you're a gentleman and a scholar, thank you
    [2026-4-13. : 10:07 pm]
    NudeRaider -- ya why phone people when you can just write letters
    [2026-4-13. : 9:37 pm]
    IskatuMesk -- I have never and will never own a phone
    [2026-4-13. : 9:15 pm]
    NudeRaider -- Vrael ranting still is though
    Please log in to shout.


    Members Online: anoeth47