Anim_Const
Kategorie:
Animationen
Ab Engineversion:
5.1 OC
Beschreibung
Wertangabe für
PlayAnimation
,
SetAnimationPosition
oder
SetAnimationWeight
: Über die komplette Zeitdauer der Animation wird der gegebene konstante Wert verwendet.
Syntax
array
Anim_Const(
int
value);
Parameter
value:
Zu verwendender Wert.
Anmerkung
Siehe die
Animations-Dokumentation
für eine Beschreibung des Animationssystems.
Beispiel
PlayAnimation
(
"HangleStand"
, 5,
Anim_Linear
(0, 0, 2000, 100, ANIM_Loop),
Anim_Const
(1000));
Spielt die Animation "HangleStand" ab und verwendet dabei kontant den Wert 1000 als Gewicht (volles Gewicht). Die Position der Animation ist nicht konstant sondern verändert sich (linear) mit der Zeit, siehe
Anim_Linear
.
Siehe auch:
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