setMimic: Difference between revisions

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


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


|p1= MimicType: [[String]]. as above  
|p1= person: [[Object]].
 
|p2= MimicType: [[String]]. as above  


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 12:15, 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:
person: Object.
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