setFaceAnimation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 37: Line 37:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>_soldier1 setFaceAnimation 0.5;</code>
|x1= <sqf>_soldier1 setFaceAnimation 0.5;</sqf>


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

Revision as of 10:24, 13 May 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)