thorhunter
You can change this now in User CP.
- Reaction score
- 32
So I know there are events that under some circumstances can interrup trigger currently running:
Example:
This makes the actions queue go as follows:
Now, my question is, how will adding 'Wait 0.00' seconds to 'Trigger1' influence the queue of actions? Will it put the 'Set Temp_int = 2' at the end of queue? If so, are there any major drawbacks of using this method or is it applicable in certain situations?
Example:
Trigger:
- Trigger1
- Events
- Unit - Sorceress 0396 <gen> Takes damage
- Conditions
- Actions
- Set Temp_int = 2
- Events
Trigger:
- Trigger2
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- Actions
- Set Temp_int = 1
- Unit - Cause (Triggering unit) to damage Sorceress 0396 <gen>, dealing 500.00 damage of attack type Spells and damage type Normal
- Player - Add Temp_int to Player 1 (Red) Current gold
- Events
This makes the actions queue go as follows:
Trigger:
- Set Temp_int = 1
- Set Temp_int = 2
- Unit - Cause (Triggering unit) to damage Sorceress 0396 <gen>, dealing 500.00 damage of attack type Spells and damage type Normal
- Player - Add Temp_int to Player 1 (Red) Current gold
Now, my question is, how will adding 'Wait 0.00' seconds to 'Trigger1' influence the queue of actions? Will it put the 'Set Temp_int = 2' at the end of queue? If so, are there any major drawbacks of using this method or is it applicable in certain situations?