Since engine version: 1.0 OC
Sets a new position for the given animation. Returns
trueif the new AVP was set or
falseif there is no such animation with the given number or the number refers to a combination node.
bool SetAnimationPosition(int animation_number, array position, int attach_number);
- Animation number of the animation whose position to set.
- Specifies how to compute the position of the animation. The value needs to be created with one of the "Anim_" animation functions.
- [opt] If given, refers to the number of the attached mesh whose animation to change.
See the animation documentation for further explanations of the animation system.
Script for a timer: For each call the animation is advanced by 100 milliseconds. If the timer is called periodically in same intervals Anim_Linear can be used instead.