setFaceAnimation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
(doing nothing)
(4 intermediate revisions by 3 users not shown)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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


}}
}}
Line 36: Line 37:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]]

Revision as of 16:17, 22 May 2019

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:
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