setMimic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETMIMIC]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SETMIMIC]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|SETMIMIC]]
[[Category:Scripting Commands ArmA|SETMIMIC]]
 
 
<h2 style="color:#000066">'''''person'' setMimic ''mimic'''''</h2>
 
 
'''Operand types:'''
 
'''person:''' [[Object]]
 
'''mimic:''' [[String]]


'''Type of returned value:'''
| ofp |= Game name


[[Nothing]]
|1.00|= Game version
 
____________________________________________________________________________________________
'''Description:'''
 
Set '''person's''' facial expression.
 
Following '''mimic''' values are recognized:


| Set person's facial expression. Following mimic values are recognized:
* '''"Default"'''
* '''"Default"'''
* '''"Normal"'''
* '''"Normal"'''
Line 34: Line 18:
* '''"Agresive"'''
* '''"Agresive"'''
* '''"Angry"'''
* '''"Angry"'''
|= Description
____________________________________________________________________________________________
| person '''setMimic''' mimic |= Syntax
|p1= person: [[Object]] |= Parameter 1
|p2= mimic: [[String]] |= Parameter 2


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


'''Example:'''
|  |= See also


soldier1 '''setmimic''' '''"angry"'''
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
 
<!-- Note Section END -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SETMIMIC]]
[[Category:Scripting Commands OFP 1.96|SETMIMIC]]
[[Category:Scripting Commands OFP 1.46|SETMIMIC]]
[[Category:Scripting Commands ArmA|SETMIMIC]]

Revision as of 23:23, 1 August 2006

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

Bottom Section