Anim_Const
Category:
Animations
Since engine version:
5.1 OC
Description
Value provider for
PlayAnimation
,
SetAnimationPosition
or
SetAnimationWeight
: For the whole animation the given constant value will be used.
Syntax
array
Anim_Const(
int
value);
Parameter
value:
Value to use.
Remark
See the
animation documentation
for further explanations of the animation system.
Example
PlayAnimation
(
"HangleStand"
, 5,
Anim_Linear
(0, 0, 2000, 100, ANIM_Loop),
Anim_Const
(1000));
Plays the animation "HangleStand" and uses the value 1000 constantly for the animation's weight (full weight). The position of the animation is not contant but changes (linearily) with time, see
Anim_Linear
.
See also:
Anim_AbsX
,
Anim_AbsY
,
Anim_Action
,
Anim_Dist
,
Anim_Linear
,
Anim_R
,
Anim_X
,
Anim_XDir
,
Anim_Y
,
Anim_YDir
,
PlayAnimation
,
SetAnimationPosition
,
SetAnimationWeight
Clonk-Karl, 2010-01