setFaceAnimation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set facial animation phase (eye blinking), blink is in the range from <tt>0</tt> to <tt>1</tt>. |= Description
| Set facial animation phase (eye blinking), blink is in the range from <tt>0</tt> to <tt>1</tt>. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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


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


}}
}}

Revision as of 15:47, 7 April 2019

Hover & click on the images for description

Description

Description:
Set facial animation phase (eye blinking), blink is in the range from 0 to 1.
Groups:
Uncategorised

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