Alright so lately I've been delving into jass, I've been learning pretty fast but I'm kind of stuck on the subject of timers. Basicaly, when a unit is attacks with the ability Frost Master it has a 20% chance to freeze the target in a block of ice. When a unit is frozen its animation speed is set to 0 and color tinted blue, all of this I did successfully but I'm having trouble returning it to normal.
So what I want to do is create a timer every time a unit is frozen that when it finishes calls a function that 'un-blues' the unit. The problem being how do I refer back to the correct unit =/.
I was reading somewhere about H2I timers that do something like this but it didn't quite explain it nor did it have the actual code. So if anyone could help here it would be awesome.
So what I want to do is create a timer every time a unit is frozen that when it finishes calls a function that 'un-blues' the unit. The problem being how do I refer back to the correct unit =/.
I was reading somewhere about H2I timers that do something like this but it didn't quite explain it nor did it have the actual code. So if anyone could help here it would be awesome.