Returns the name of the animation with the given number. If there is no such animation with the given number or the number refers to a combination node then this function returns nil.
Syntax
string GetAnimationName(int animation_number, int attach_number);
Parameters
animation_number:
Animation number of the animation whose name to retrieve.
attach_number:
[opt]
If given, refers to the number of the attached mesh to query instead of the object's main mesh.