Greetings,
I'm trying to create a trigger that would do the following:
1) Save unit's current order
2) Issue unit to activate mana shield
3) Load saved order and make the unit execute it
So for example:
Unit has an order to attack-move to some location. Trigger occurs, unit activates the mana shield and proceeds to attack-move.
The question is how to make this work. I believe there is 'order' variable, which would allow me to save the order, but I don't know how to make the unit do the saved order.
I'm trying to create a trigger that would do the following:
1) Save unit's current order
2) Issue unit to activate mana shield
3) Load saved order and make the unit execute it
So for example:
Unit has an order to attack-move to some location. Trigger occurs, unit activates the mana shield and proceeds to attack-move.
The question is how to make this work. I believe there is 'order' variable, which would allow me to save the order, but I don't know how to make the unit do the saved order.