I want to set up an ability/trigger that when you cast Go To Sleep or whatever, it puts the unit t sleep, and then you can wake up again by casting Wake Up.
At first it was based off of a dummy casting Sleep on the target when he cast sleep but that didn't work since it was a fixed time period and while sleeped you can't click a wake up spell to wake up. I tried creating a ward of a tent with the wake up ability and then hiding the unit that cast sleep, but I can't figure out how to make this mui because the only way to unhide the hidden unit is to put it in a variable before hand.
Thoughts? Ideas? In the final version I want to have multiple systems of sleep, either in the ground exposed, in a tent, maybe in a car even, passing out without the ability to click wake up, and being attacked canceling sleep, so I need a reliable and open to change system for putting a hero to sleep and then waking him up in different situations. Any help/ideas would be appreciated.
At first it was based off of a dummy casting Sleep on the target when he cast sleep but that didn't work since it was a fixed time period and while sleeped you can't click a wake up spell to wake up. I tried creating a ward of a tent with the wake up ability and then hiding the unit that cast sleep, but I can't figure out how to make this mui because the only way to unhide the hidden unit is to put it in a variable before hand.
Thoughts? Ideas? In the final version I want to have multiple systems of sleep, either in the ground exposed, in a tent, maybe in a car even, passing out without the ability to click wake up, and being attacked canceling sleep, so I need a reliable and open to change system for putting a hero to sleep and then waking him up in different situations. Any help/ideas would be appreciated.