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