setMimic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________


| person '''setMimic''' mimic |= Syntax
| [[Object#Person|Person]] '''setMimic''' "MimicType" |= Syntax


|p1= person: [[Object]] |= Parameter 1
|p1= MimicType: [[String]]. as above
 
|p2= mimic: [[String]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>soldier1 setmimic "angry"</pre> |= Example 1
|x1= <pre>_soldier1 setmimic "angry"</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 07:51, 31 August 2007

Hover & click on the images for description

Description

Description:
Set person's facial expression. Following mimic values are recognized:
  • "Default"
  • "Normal"
  • "Smile"
  • "Hurt"
  • "Ironic"
  • "Sad"
  • "Cynic"
  • "Surprised"
  • "Agresive"
  • "Angry"
Groups:
Uncategorised

Syntax

Syntax:
Person setMimic "MimicType"
Parameters:
MimicType: String. as above
Return Value:
Nothing

Examples

Example 1:
_soldier1 setmimic "angry"

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

The-architect
To give the impression of hard faced guys going into a mission, use the setmimic "angry" command. I always have this on my guys to stop them grinning during a cutscene/mission.
Ceeeb
In OFP v1.96, a character will keep any facial expression you set indefinately. Setmimic to "" to return soldier to automatic facial expressions.

Bottom Section