setMimic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 38: Line 38:
'''Example:'''
'''Example:'''


soldier1 '''setmimic''' '''"surprised"'''
soldier1 '''setmimic''' '''"angry"'''

Revision as of 09:33, 21 May 2006


person setMimic mimic


Operand types:

person: Object

mimic: String

Type of returned value:

Nothing

Description:

Set person's facial expression.

Following mimic values are recognized:

  • "Default"
  • "Normal"
  • "Smile"
  • "Hurt"
  • "Ironic"
  • "Sad"
  • "Cynic"
  • "Surprised"
  • "Agresive"
  • "Angry"


Example:

soldier1 setmimic "angry"