Stop remaining actions in trigger A by trigger B

Dito

New Member
Reaction score
0
Hello!

I want to do like this: If trigger B runs, remaining actions in trigger A gets skipped. How can I do this?
 

X-maul

AKA: Demtrod
Reaction score
201
uhmm - you could do it with an If/then/else, and then check if a boolean is true (set in the other trigger)...

Othervise I dont think it's possible, not that I've heard of though.
 

Dito

New Member
Reaction score
0
I will do that unless there is another solution, I'd like to learn that solution though - if there is such a solution. :)
 

DioD

New Member
Reaction score
57
if trigger B ran from trigger A you simply dont run trigger B anymore if trigger A meet some conditions.

it is not possible to interfere with threads from jass.
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
i think the problem is that you do not get the basic concept behind how a computer works. it is impossible that 2 or more scripts are running at once. a computer does one action after another, one line of code after another. you cannot tell one trigger stop the other trigger because no other trigger is running that time, no other action is performed.

all you can do is set some variable and check in your other triggers the value of it to determine the further actions.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top