Difference between revisions of "TASK PLAY ANIM"
Jump to navigation
Jump to search
Magicdietz (talk | contribs) (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=...) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
|p3d=AnimationSet, use REQUEST_ANIMS to load an AnimationSet | |p3d=AnimationSet, use REQUEST_ANIMS to load an AnimationSet | ||
|p4t=float | |p4t=float | ||
− | |p4d= | + | |p4d=Speed |
|p5t=boolean | |p5t=boolean | ||
|p5d=Loop the Animation | |p5d=Loop the Animation | ||
− | |p6t= | + | |p6t=float |
− | |p7t= | + | |p6d=X |
− | |p8t= | + | |p7t=float |
− | |p9t= | + | |p7d=Y |
+ | |p8t=float | ||
+ | |p8d=Z | ||
+ | |p9t=int | ||
+ | |p9d=MS | ||
|r=0 | |r=0 | ||
}} | }} | ||
− | + | 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 ); |
Latest revision as of 21:46, 24 July 2012
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 );