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.
    [06:28 am]
    NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
    [06:26 am]
    NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
    [06:25 am]
    NudeRaider -- Symmetry
    Symmetry shouted: Ohhh imagine a SC map that could delete itself
    not the map, the editor
    [02:28 am]
    Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
    [02:28 am]
    Symmetry -- Ohhh imagine a SC map that could delete itself
    [08:51 pm]
    NudeRaider -- Symmetry
    Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
    yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
    [2026-7-15. : 4:10 am]
    Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
    [2026-7-15. : 2:19 am]
    Symmetry -- NudeRaider
    NudeRaider shouted: Symmetry I can't tell if it's relevant. You provided literally no context so I was providing an equally generic answer.
    Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
    [2026-7-14. : 11:43 pm]
    Ultraviolet -- let's take each other's clothes off :teach:
    [2026-7-14. : 11:03 pm]
    Vrael -- :teach:
    Please log in to shout.


    Members Online: IskatuMesk