setFaceAnimation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(doing nothing)
(18 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|SETFACEANIMATION]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SETFACEANIMATION]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|SETFACEANIMATION]]
[[Category:Scripting Commands ArmA|SETFACEANIMATION]]


| ofp |= Game name


<h2 style="color:#000066">'''''person'' setFaceAnimation ''blink'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


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


'''Operand types:'''
| person '''setFaceAnimation''' blink |SYNTAX=


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


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


'''Type of returned value:'''
| [[setRandomLip]], [[setMimic]], [[animate]], [[animationPhase]], [[animateDoor]] |SEEALSO=


[[Nothing]]
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<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 -->
</dl>


Set facial animation phase (eye blinking), blink in range 0 to 1.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
'''Example:'''
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]]
soldier1 '''setFaceAnimation''' 0.5
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{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.

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