Difference between revisions of "TASK PLAY ANIM FACIAL"

From GTAMods Wiki
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

TASK_PLAY_ANIM_FACIAL
Number of parameters: 7
Parameter #TypeDescription
1.intThe handle of the ped
2.char pointerThe animation's name
3.char pointerThe animation's set/group name
4.floatPlayback speed (always 1.00001 like in original .sco)
5.boolflag 1
6.boolflag 2
7.intunknown (always -1)
Return value:
TypeDescription
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.....)