setMimic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(It is not possible to execute setmimic on the server to affect a unit on the client. Please use talk page next time.)
Line 6: Line 6:
|1.00|= Game version
|1.00|= Game version


|arg= global |= MPARGUMENTS  
|arg= local |= MPARGUMENTS  


|eff= local |= MPEFFECTS  
|eff= local |= MPEFFECTS  

Revision as of 19:09, 4 September 2013

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"
Since Arma 2 OA 1.6*, these values are used :
  • "neutral"
  • "dead"
  • "danger"
  • "hurt"
  • "aware"
  • "safe"
  • "combat"
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:
setIdentitysetFacesetFaceAnimation

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.
Posted on September 2, 2013
Killzone_Kid
In Arma 3 the following face expressions work: "neutral","dead","danger","hurt","aware","safe","combat". Names must be written in all lower case letters. There is another grimace in config - "unconscious", which doesn't quite work. Also "" doesn't do anything and will not reset mimic to default.

Bottom Section