TASK PLAY ANIM

From GTAMods Wiki
Revision as of 21:46, 24 July 2012 by Solom (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
TASK_PLAY_ANIM
Number of parameters: 9
Parameter #TypeDescription
1.integerCharHandle
2.stringAnimationID
3.stringAnimationSet, use REQUEST_ANIMS to load an AnimationSet
4.floatSpeed
5.booleanLoop the Animation
6.floatX
7.floatY
8.floatZ
9.intMS
Return value:
TypeDescription
None

Char will play an animation

Alice-Example:

TASK_PLAY_ANIM(CharHandle.a, "hello", "gestures@niko", f(8), 0, 0, 0, 0, -1)

SCO Code example:

TASK_PLAY_ANIM( 0, "f_insertcard", "amb@atm", 8.00000000, 0, 0, 0, 0, -2 );