0605

From GTAMods Wiki
Revision as of 15:07, 2 January 2009 by Spaceeinstein (talk | contribs) (New page: {{OpCode | ini = 0605=9,%1h% %2h% %3h% %4d% %5h% %6h% %7h% %8h% %9h% | description = Performs an animation on a character | p1 = Existing actor handle | p2 = ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{games}}}


Description
Performs an animation on a character
Syntax
{{{syntax1}}}
Parameter
Native analog
TASK_PLAY_ANIM

This opcode make the character perform the specified animation. Using this opcode requires 04ED or else the game might crash. Animations from the "PED" file does not need to be loaded.

Parameter 4 is the rate of speed of the animation. 4.0 is the default speed.
Parameter 5 makes the an8imation loop.
Parameter 6 and 7 places the character at the end of the animation instead of returning to the start when the animation finishes.
Parameter 8 locks the character into the last frame of animation.
Parameter 9 is the time in milliseconds.

Keywords

perform, animation, actor, character

Source