setMimic: Difference between revisions
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= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| person '''setMimic''' mimic |= | | person '''setMimic''' mimic |SYNTAX= | ||
|p1= person: [[Object]] |= | |p1= person: [[Object]] |PARAMETER1= | ||
|p2= mimic: [[String]]. as above |= | |p2= mimic: [[String]]. as above |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre>_soldier1 setmimic "angry"</pre> |= | |x1= <pre>_soldier1 setmimic "angry"</pre> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setIdentity]], [[setFace]], [[setFaceAnimation]], [[enableMimics]], [[setRandomLip]]|= | | [[setIdentity]], [[setFace]], [[setFaceAnimation]], [[enableMimics]], [[setRandomLip]]|SEEALSO= | ||
}} | }} |
Revision as of 14:47, 7 April 2019
Description
- Description:
- Set person's facial expression. Following mimic values are recognized:
- "Default"
- "Normal"
- "Smile"
- "Hurt"
- "Ironic"
- "Sad"
- "Cynic"
- "Surprised"
- "Agresive"
- "Angry"
- "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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters