setFaceAnimation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofp |Game name=
| ofp


|1.00|Game version=
|1.00


|gr1= Animations |GROUP1=
|gr1= Animations
|gr2= Broken Commands |GROUP2=
|gr2= Broken Commands


| Sets facial animation phase (eye blinking), blink is in the range from <tt>0</tt> to <tt>1</tt>. <br><br>
| Sets facial animation phase (eye blinking), blink is in the range from <tt>0</tt> to <tt>1</tt>. <br><br>
{{Feature|arma3 | This command is not functional in Arma 3}} |DESCRIPTION=
{{Feature|arma3 | This command is not functional in Arma 3}}


| person '''setFaceAnimation''' blink |SYNTAX=
| person '''setFaceAnimation''' blink


|p1= person: [[Object]] |PARAMETER1=
|p1= person: [[Object]]
|p2= blink: [[Number]] |PARAMETER2=
|p2= blink: [[Number]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
   
   
|x1= <code>_soldier1 [[setFaceAnimation]] 0.5;</code> |EXAMPLE1=
|x1= <code>_soldier1 [[setFaceAnimation]] 0.5;</code>


| [[setRandomLip]], [[setMimic]], [[animate]], [[animationPhase]], [[animateDoor]] |SEEALSO=
| [[setRandomLip]], [[setMimic]], [[animate]], [[animationPhase]], [[animateDoor]]


}}
}}

Revision as of 11:09, 18 January 2021

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:
person setFaceAnimation blink
Parameters:
person: Object
blink: Number
Return Value:
Nothing

Examples

Example 1:
_soldier1 setFaceAnimation 0.5;

Additional Information

See also:
setRandomLipsetMimicanimateanimationPhaseanimateDoor

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