- Joined
- Dec 1, 2008
- Messages
- 120
So I picked up this old thing again https://www.hiveworkshop.com/threads/could-something-like-useful.267922/post-2710168, and realized I never fixed this quite bothersome bug.
So the problem here is:
Units a and b will change their animations to 2 too. The units are using a custom model I made.
Not sure if this is the right place to post. Guess it's more of a model problem, as this doesn't happen if I change the unitId to 'hpea' for example.
So the problem here is:
JASS:
library a initializer Init
private function Init takes nothing returns nothing
local unit a = CreateUnit(Player(0), 'n000', -16.0, .0, 270.0)
local unit b = CreateUnit(Player(0), 'n000', -16.0, -32.0, 270.0)
local unit c = CreateUnit(Player(0), 'n000', -16.0, -64.0, 270.0)
call SetUnitAnimationByIndex(a, 0)
call SetUnitAnimationByIndex(b, 1)
call SetUnitAnimationByIndex(c, 2)
endfunction
endlibrary
Not sure if this is the right place to post. Guess it's more of a model problem, as this doesn't happen if I change the unitId to 'hpea' for example.


