setFaceAnimation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(doing nothing)
(8 intermediate revisions by 6 users not shown)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set facial animation phase (eye blinking), blink is in the range from 0 to 1. |= 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= <pre>_soldier1 setFaceAnimation 0.5</pre> |= Example 1
|x1= <code>_soldier1 [[setFaceAnimation]] 0.5;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}
Line 28: Line 29:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
Setting face animation to 4 will give "devilish" features (ArmA) - [[User:Lou Montana|Lou Montana]] 09:01, 23 December 2008 (CET)
<dd class="notedate">Posted on 09:01, 23 December 2008 (CET)</dd>
<dt class="note">[[User:Lou Montana|Lou Montana]]</dt>
<dd class="note">Setting face animation to 4 will give "devilish" features (ArmA)</dd>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>
Line 34: 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}}}}]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{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.

Template:Feature arma3
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