I know how to set a unit animation with SetUnitAnimationByIndex, but is there a function that does the same thing as the GUI's queue unit animation (but by index)? Alternatively, is there a list of all the jass functions somewhere?
Problem is that the function GUI uses IS available in jass, but it uses an animation name, not an animation index. There is no native that does this with an animation index.