- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
Edit: Nevermind, setting to 100% is trivial, think this is solved now.
I'd like to make a trigger that set's a unit's HP and mana to 100%.
What is the native for this?
I found this thread: http://www.hiveworkshop.com/forums/graveyard-418/snippet-unit-state-percent-189943/
but I'm hard pressed to believe there isn't a native to do a rather simple task--this function is a native in Starcraft I, which is almost 20 years old, and also Blizzard's...
Edit: Nevermind, setting to 100% is trivial, think this is solved now.
I'd like to make a trigger that set's a unit's HP and mana to 100%.
What is the native for this?
SetUnitState
takes a real value, which is not too helpful unless I did some (clever) maths. I found this thread: http://www.hiveworkshop.com/forums/graveyard-418/snippet-unit-state-percent-189943/
but I'm hard pressed to believe there isn't a native to do a rather simple task--this function is a native in Starcraft I, which is almost 20 years old, and also Blizzard's...
Last edited: