setMimic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(add. ArmA2 classification)
Line 58: Line 58:
[[Category:Scripting Commands OFP 1.46|SETMIMIC]]
[[Category:Scripting Commands OFP 1.46|SETMIMIC]]
[[Category:Scripting Commands ArmA|SETMIMIC]]
[[Category:Scripting Commands ArmA|SETMIMIC]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 17:25, 3 June 2009

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 mimic
Parameters:
person: Object
mimic: 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