TASK PLAY ANIM FACIAL
Jump to navigation
Jump to search
| 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.....)