setFaceAnimation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Some wiki formatting)
 
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| ofp |= Game name
|game1= ofp
|version1= 1.00


|1.00|Game version=
|game2= ofpe
____________________________________________________________________________________________
|version2= 1.00


| Sets facial animation phase (eye blinking), blink is in the range from <tt>0</tt> to <tt>1</tt>. <br><br>
|game3= arma1
{{Feature arma3 | This command is not functional in Arma 3}} |DESCRIPTION=
|version3= 1.00
____________________________________________________________________________________________


| person '''setFaceAnimation''' blink |SYNTAX=
|game4= arma2
|version4= 1.00


|p1= person: [[Object]] |PARAMETER1=
|game5= arma2oa
|p2= blink: [[Number]] |PARAMETER2=
|version5= 1.50


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


| [[setRandomLip]], [[setMimic]], [[animate]], [[animationPhase]], [[animateDoor]] |SEEALSO=
|game7= arma3
|version7= 0.50


}}
|gr1= Animations
 
|gr2= Broken Commands
 
|descr= Sets facial animation phase (eye blinking).
{{Feature|arma3|This command is not functional in {{arma3}}.}}
 
|s1= unit [[setFaceAnimation]] blink
 
|p1= unit: [[Object]]
 
|p2= blink: [[Number]] - range 0..1
 
|r1= [[Nothing]]


<h3 style="display:none">Notes</h3>
|x1= <sqf>_soldier1 setFaceAnimation 0.5;</sqf>
<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>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[setRandomLip]] [[setMimic]] [[animate]] [[animationPhase]] [[animateDoor]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
{{Note
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]]
|user= Lou Montana
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]]
|timestamp= 20081223090100
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
|text= Setting face animation to 4 will give "devilish" features ({{arma1}})
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 22:15, 13 May 2023

Hover & click on the images for description

Description

Description:
Sets facial animation phase (eye blinking).
Arma 3
This command is not functional in Arma 3.
Groups:
AnimationsBroken Commands

Syntax

Syntax:
unit setFaceAnimation blink
Parameters:
unit: Object
blink: Number - range 0..1
Return Value:
Nothing

Examples

Example 1:
_soldier1 setFaceAnimation 0.5;

Additional Information

See also:
setRandomLip setMimic animate animationPhase animateDoor

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
Lou Montana - c
Posted on Dec 23, 2008 - 09:01 (UTC)
Setting face animation to 4 will give "devilish" features (Armed Assault)