- Joined
- Jul 19, 2010
- Messages
- 309
Hello! Thanks for stopping by. I'm wondering if anyone knows how to accomplish the following via GUI or Jass.
When a unit is paused it will remember it's last order and continue it upon being unpaused. I'm currently using this to allow players in my game to queue spells by pausing them upon an attempt to cast a second spell while the first is still casting, once the first is done they become unpaused and begin casting the 2nd one. So far it works great, but when a unit becomes paused their entire UI blacks out which doesn't look that good in game when the unit will be casting many spells.
So, the question: Is there a way to prevent the UI blackout during pause, or, is there another way to "capture" a unit order and save it for later? I'd be more than happy to make my own loop that tells it when to start the next spell, but I don't know how to save a specific order and call it back later.
I love you all my friends and the fact these questions are so frequently answered is amazing. Please don't hesitate to ask for my help or a reward in turn.
(I noticed browsing the forums that you two have the experience I think would solve this, and Pyrogasm frequently is knowledgeable)
@TriggerHappy
@DrSupergood
@Pyrogasm
When a unit is paused it will remember it's last order and continue it upon being unpaused. I'm currently using this to allow players in my game to queue spells by pausing them upon an attempt to cast a second spell while the first is still casting, once the first is done they become unpaused and begin casting the 2nd one. So far it works great, but when a unit becomes paused their entire UI blacks out which doesn't look that good in game when the unit will be casting many spells.
So, the question: Is there a way to prevent the UI blackout during pause, or, is there another way to "capture" a unit order and save it for later? I'd be more than happy to make my own loop that tells it when to start the next spell, but I don't know how to save a specific order and call it back later.
I love you all my friends and the fact these questions are so frequently answered is amazing. Please don't hesitate to ask for my help or a reward in turn.
(I noticed browsing the forums that you two have the experience I think would solve this, and Pyrogasm frequently is knowledgeable)
@TriggerHappy
@DrSupergood
@Pyrogasm