- Joined
- May 20, 2009
- Messages
- 822
In the Blizzard.j/Common.j, I can't seem to find the code anywhere for some of the functions. Such as,
SetUnitMoveSpeed
SetUnitFlyHeight
SetUnitX/Y
UnitResetCooldown
Is there just no more breaking these down, are these as basic as functions get in WC3?
I need these so I know how some of their things work, such as SetUnitMoveSpeed ALWAYS changes the color of the movement speed to red, instead of green. I don't really know what controls doing that, so looking at the code for it would be my best bet but I cannot find it...
Before SetUnitMoveSpeed - "Speed: Slow"
After SetUnitMoveSpeed - "Speed: Very Fast"
What I want it to do - "Speed: Very Fast"
Also, UnitResetCooldown effects ALL abilities on the unit. Now, I know there are some work arounds, such as removing all abilities that you don't want the cooldowns to reset, use the reset, then add all the other abilities back, or simply removing and then adding the spell back that you want to reset. But those feel really clumsy to me...
SetUnitMoveSpeed
SetUnitFlyHeight
SetUnitX/Y
UnitResetCooldown
Is there just no more breaking these down, are these as basic as functions get in WC3?
I need these so I know how some of their things work, such as SetUnitMoveSpeed ALWAYS changes the color of the movement speed to red, instead of green. I don't really know what controls doing that, so looking at the code for it would be my best bet but I cannot find it...
Before SetUnitMoveSpeed - "Speed: Slow"
After SetUnitMoveSpeed - "Speed: Very Fast"
What I want it to do - "Speed: Very Fast"
Also, UnitResetCooldown effects ALL abilities on the unit. Now, I know there are some work arounds, such as removing all abilities that you don't want the cooldowns to reset, use the reset, then add all the other abilities back, or simply removing and then adding the spell back that you want to reset. But those feel really clumsy to me...