setMimic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 31: Line 31:
* '''"safe"'''
* '''"safe"'''
* '''"combat"'''
* '''"combat"'''
|= Description
|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| person '''setMimic''' mimic |= Syntax
| person '''setMimic''' mimic |SYNTAX=


|p1= person: [[Object]] |= Parameter 1
|p1= person: [[Object]] |PARAMETER1=


|p2= mimic: [[String]]. as above  |= Parameter 2
|p2= mimic: [[String]]. as above  |PARAMETER2=


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


| [[setIdentity]], [[setFace]], [[setFaceAnimation]], [[enableMimics]], [[setRandomLip]]|= See also
| [[setIdentity]], [[setFace]], [[setFaceAnimation]], [[enableMimics]], [[setRandomLip]]|SEEALSO=


}}
}}

Revision as of 15:47, 7 April 2019

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:
setIdentitysetFacesetFaceAnimationenableMimicssetRandomLip

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.

Bottom Section