setMimic: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2") |
Lou Montana (talk | contribs) (Fix description, example and clean comments) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Sets person's facial expression. To set it back to default, use "". | ||
{{Feature arma3|Mimics must be written in all lower case letters.}} |DESCRIPTION= | |||
|DESCRIPTION= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| person | | person [[setMimic]] mimic |SYNTAX= | ||
|p1= person: [[Object]] |PARAMETER1= | |p1= person: [[Object]] |PARAMETER1= | ||
|p2= mimic: [[String]]. | |p2= mimic: [[String]] - can be one of: | ||
{{{!}} | |||
! style="padding-right: 2em" {{!}} Before Arma 2 OA v1.6x !! style="font-size: small" {{!}} Since Arma 2 OA v1.6x | |||
{{!}}- | |||
{{!}} style="vertical-align: top" {{!}} | |||
* "Default" | |||
* "Normal" | |||
* "Smile" | |||
* "Hurt" | |||
* "Ironic" | |||
* "Sad" | |||
* "Cynic" | |||
* "Surprised" | |||
* {{sic|"Agresive"}} | |||
* "Angry" | |||
{{!}} style="vertical-align: top" {{!}} | |||
* "neutral" | |||
* "dead" | |||
* "danger" | |||
* "hurt" | |||
* "aware" | |||
* "safe" | |||
* "combat" | |||
{{!}}} |PARAMETER2= | |||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_soldier1 [[setMimic]] "hurt";</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setIdentity]], [[setFace]], [[setFaceAnimation]], [[enableMimics]], [[setRandomLip]]|SEEALSO= | | [[setIdentity]], [[setFace]], [[setFaceAnimation]], [[enableMimics]], [[setRandomLip]] |SEEALSO= | ||
}} | }} | ||
Line 53: | Line 56: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on Jan 19, 2010 - 15:30 (CEST) | <dd class="notedate">Posted on Jan 19, 2010 - 15:30 (CEST) | ||
<dt class="note"> | <dt class="note">[[User:Lou Montana|Lou Montana]] | ||
<dd class="note">Not working in '''Arma 2 1.05'''. | <dd class="note">Not working in '''Arma 2 1.05'''. | ||
<dd class="notedate">Posted on September 2, 2013 | <dd class="notedate">Posted on September 2, 2013 | ||
<dt class="note"> | <dt class="note">[[User:Killzone_Kid|Killzone_Kid]] | ||
<dd class="note"> | <dd class="note">There is another grimace in config - "unconscious", which doesn't quite work. | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
Line 76: | Line 69: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands| | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands | [[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 01:49, 2 February 2020
Description
- Description:
- Sets person's facial expression. To set it back to default, use "".
- Groups:
- Uncategorised
Syntax
- Syntax:
- person setMimic mimic
- Parameters:
- person: Object
- mimic: String - can be one of:
Before Arma 2 OA v1.6x Since Arma 2 OA v1.6x - "Default"
- "Normal"
- "Smile"
- "Hurt"
- "Ironic"
- "Sad"
- "Cynic"
- "Surprised"
- "Agresive"sic
- "Angry"
- "neutral"
- "dead"
- "danger"
- "hurt"
- "aware"
- "safe"
- "combat"
- Return Value:
- Nothing
Examples
- Example 1:
_soldier1 setMimic "hurt";
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
- Posted on Jan 19, 2010 - 15:30 (CEST)
- Lou Montana
- Not working in Arma 2 1.05.
- Posted on September 2, 2013
- Killzone_Kid
- 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.46
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- Scripting Commands ArmA
- Scripting Commands Arma 2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters