setFaceAnimation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofp |Game name=
| ofp |Game name=
Line 8: Line 7:
|gr1= Animations |GROUP1=
|gr1= Animations |GROUP1=
|gr2= Broken Commands |GROUP2=
|gr2= Broken Commands |GROUP2=
____________________________________________________________________________________________


| 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}} |DESCRIPTION=
____________________________________________________________________________________________


| person '''setFaceAnimation''' blink |SYNTAX=
| person '''setFaceAnimation''' blink |SYNTAX=
Line 20: Line 17:


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


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

Revision as of 02:44, 17 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)

Bottom Section