Difference between revisions of "TASK PLAY ANIM FACIAL"
Jump to navigation
Jump to search
(Created page with "{{Native |np=7 |p1t=int |p1d=The handle of the ped |p2t=char pointer |p2d=The animation's name |p3t=char pointer |p3d=The animation's set/group name |p4t=float |p4d=Playback s...") |
|||
Line 18: | Line 18: | ||
}} | }} | ||
− | == Description ==<br/> | + | |
+ | == Description == | ||
+ | <br/> | ||
Makes ped play an animation with only his/her face (aka emotions)<br/> | Makes ped play an animation with only his/her face (aka emotions)<br/> | ||
It`s tested only with 'facials@m_lo' and 'facials@f_lo' - for male and female characters accordingly.<br/> | It`s tested only with 'facials@m_lo' and 'facials@f_lo' - for male and female characters accordingly.<br/> | ||
Animation libraries must be loaded first (just like other TASK_PLAY_ANIM.....) | Animation libraries must be loaded first (just like other TASK_PLAY_ANIM.....) |
Latest revision as of 01:37, 20 March 2015
Number of parameters: 7 | ||
---|---|---|
Parameter # | Type | Description |
1. | int | The handle of the ped |
2. | char pointer | The animation's name |
3. | char pointer | The animation's set/group name |
4. | float | Playback speed (always 1.00001 like in original .sco) |
5. | bool | flag 1 |
6. | bool | flag 2 |
7. | int | unknown (always -1) |
Return value: | ||
Type | Description | |
None |
Description
Makes ped play an animation with only his/her face (aka emotions)
It`s tested only with 'facials@m_lo' and 'facials@f_lo' - for male and female characters accordingly.
Animation libraries must be loaded first (just like other TASK_PLAY_ANIM.....)