Difference between revisions of "TASK PLAY ANIM"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |np=9 |p1t=integer |p1d=CharHandle |p2t=string |p2d=AnimationID |p3t=string |p3d=AnimationSet, use REQUEST_ANIMS to load an AnimationSet |p4t=float |p4d=Unknown |p5t=boolean |p5d=...)
 
Line 18: Line 18:
 
}}
 
}}
  
Gives a Char the Task, to play an specified Animation
+
Char will play an animation
  
 
'''Alice-Example: ''' TASK_PLAY_ANIM(CharHandle.a, "hello", "gestures@niko", f(8), 0, 0, 0, 0, -1)
 
'''Alice-Example: ''' TASK_PLAY_ANIM(CharHandle.a, "hello", "gestures@niko", f(8), 0, 0, 0, 0, -1)

Revision as of 14:43, 12 March 2009

TASK_PLAY_ANIM
Number of parameters: 9
Parameter #TypeDescription
1.integerCharHandle
2.stringAnimationID
3.stringAnimationSet, use REQUEST_ANIMS to load an AnimationSet
4.floatUnknown
5.booleanLoop the Animation
6.Unknown(boolean?)
7.Unknown(boolean?)
8.Unknown(boolean?)
9.Unknown
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)