setMimic

From Bohemia Interactive Community
Revision as of 06:18, 19 July 2011 by T D (talk | contribs) (VBS2 scripting category removal)
Jump to navigation Jump to search
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 mimic
Parameters:
person: Object
mimic: 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.
Posted on Jan 19, 2010 - 15:30 (CEST)
Lou Montana
Not working in Arma 2 1.05.

Bottom Section