Returns an array with the names of all available animations in the skeleton of the mesh of the calling object or definition, or nil if the object does not have a mesh.
Syntax
array GetAnimationList(int attach_number);
Parameter
attach_number:
[opt]
If given, refers to the number of the attached mesh whose animations to list.