void __stdcall PlayAnim(worldobjstruct* wobj,float speed)

wobj:

  Play animation on world object. It can work on a world object only, because the worldobj structure stores the necessary data for it.  All animation will be used on the worldobj subhierarchy. So all objects under the main objects will inherit this animation.

Speed:
  The speed of animation in float. It could not be negative. The 1 represents the original fps from the object editor like 3DS Max.

  The animation type is stored in the worldobjstruct, the follow types are available:

#define ANIMTYPE_ONCE 1
#define ANIMTYPE_NORMAL 1
#define ANIMTYPE_OSCILLATE 2
#define ANIMTYPE_LOOP 4
#define ANIMTYPE_REVERSE 8
#define ANIMTYPE_DESTROY 16
#define ANIMTYPE_ONCEANDDESTROY 17  

Animation functions:
    void __stdcall PlayAnim(worldobjstruct* wobj,float speed);

    void __stdcall StopAnim(worldobjstruct* wobj);
    void __stdcall CreateSelfAnim(worldobjstruct* wobj);