setFaceAnimation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 39: Line 39:
|x1= <code>_soldier1 [[setFaceAnimation]] 0.5;</code>
|x1= <code>_soldier1 [[setFaceAnimation]] 0.5;</code>


|seealso= [[setRandomLip]] [[setMimic]] [[animate]] [[animationPhase]], [[animateDoor]]
|seealso= [[setRandomLip]] [[setMimic]] [[animate]] [[animationPhase]] [[animateDoor]]
}}
}}



Revision as of 18:57, 20 January 2022

Hover & click on the images for description

Description

Description:
Sets facial animation phase (eye blinking), blink is in the range from 0 to 1.
Arma 3
This command is not functional in Arma 3
Groups:
AnimationsBroken Commands

Syntax

Syntax:
unit setFaceAnimation blink
Parameters:
unit: Object
blink: Number
Return Value:
Nothing

Examples

Example 1:
_soldier1 setFaceAnimation 0.5;

Additional Information

See also:
setRandomLip setMimic animate animationPhase animateDoor

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
Posted on 09:01, 23 December 2008 (CET)
Lou Montana
Setting face animation to 4 will give "devilish" features (Armed Assault)