Category: Animations
Since engine version: 1.0 OC
Anim_Action
Description
The value depends on the phase of the current action. The phase is mapped linearily to the length of the animation the current action is playing. This can be used to play animations synchronized to the ActMap animation.
Syntax
array Anim_Action();
Parameters
Remark
See the animation documentation for further explanations of the animation system.
Example
PlayAnimation("Walk", 10, Anim_Action(), Anim_Const(1000));
Plays the animation "Walk in slot 10 synchroned to the current action.
See also: Anim_AbsX, Anim_AbsY, Anim_Const, Anim_Dist, Anim_Linear, Anim_R, Anim_X, Anim_XDir, Anim_Y, Anim_YDir, PlayAnimation, SetAnimationPosition, SetAnimationWeight