TASK PLAY ANIM
Jump to navigation
Jump to search
Number of parameters: 9 | ||
---|---|---|
Parameter # | Type | Description |
1. | integer | CharHandle |
2. | string | AnimationID |
3. | string | AnimationSet, use REQUEST_ANIMS to load an AnimationSet |
4. | float | Speed |
5. | boolean | Loop the Animation |
6. | float | X |
7. | float | Y |
8. | float | Z |
9. | int | MS |
Return value: | ||
Type | Description | |
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 );