setMimic

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Operation Flashpoint version 1.00
  Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

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"

Syntax

Syntax:
person setMimic mimic
Parameters:
person: Object
mimic: String. as above
Return Value:
Nothing

Examples

Example 1:
_soldier1 setmimic "angry"

Additional Information

Multiplayer:
-
See also:
setIdentitysetFacesetFaceAnimationenableMimicssetRandomLip

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

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.

Bottom Section