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.
    [10:09 am]
    NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
    [02:30 am]
    Symmetry -- I dreamed about that as a kid. The idea of a computer capable of analyzing a starcraft map and calculating the fastest possible way to hit the victory condition
    [02:29 am]
    Symmetry -- But can AI beat my custom maps?
    [12:32 pm]
    Oh_Man -- yea APM vs eAPM
    [2026-9-22. : 8:48 am]
    NimoStar -- plus most of the human APM is just spam clicking APM inflation
    [2026-9-22. : 8:47 am]
    NimoStar -- the thing with the "*12" thing is completely misleading. The AI isn't using two control groups, it can use each of those actions to command a single unit individually and issue different commands to each single unit.
    [2026-9-22. : 8:06 am]
    NudeRaider -- NudeRaider
    NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
    *Pluto's wraiths
    [2026-9-22. : 8:05 am]
    NudeRaider -- Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
    [2026-9-22. : 2:18 am]
    Oh_Man -- Close enuf
    [2026-9-21. : 4:14 pm]
    Vrael -- perhaps there is a small professional player trapped in a box in the server rack where pluto is running? hmm?
    Please log in to shout.


    Members Online: jun3hong, RIVE