setFaceAnimation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
 
(63 intermediate revisions by 14 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
{{RV|type=command
[[Category:Scripting Commands OFP 1.97]]
[[Category:Scripting Commands OFP 1.46]]
[[Category:Scripting Commands ArmA]]


back to [[Scripting_Reference#S|COMREF]]
|game1= ofp
|version1= 1.00


<h2 style="color:#000066">'''''person'' setFaceAnimation ''blink'''''</h2>
|game2= ofpe
|version2= 1.00


|game3= arma1
|version3= 1.00


'''Operand types:'''
|game4= arma2
|version4= 1.00


'''person:''' [[Object]]
|game5= arma2oa
|version5= 1.50


'''blink:''' [[Number]]
|game6= tkoh
|version6= 1.00


'''Type of returned value:'''
|game7= arma3
|version7= 0.50


[[Nothing]]
|gr1= Animations


'''Description:'''
|gr2= Broken Commands


Set facial animation phase (eye blinking), blink in range 0 to 1.
|descr= Sets facial animation phase (eye blinking).
{{Feature|arma3|This command is not functional in {{arma3}}.}}


|s1= unit [[setFaceAnimation]] blink


'''Example:'''
|p1= unit: [[Object]]


soldier1 '''setFaceAnimation''' 0.5
|p2= blink: [[Number]] - range 0..1
 
|r1= [[Nothing]]
 
|x1= <sqf>_soldier1 setFaceAnimation 0.5;</sqf>
 
|seealso= [[setRandomLip]] [[setMimic]] [[animate]] [[animationPhase]] [[animateDoor]]
}}
{{Note
|user= Lou Montana
|timestamp= 20081223090100
|text= Setting face animation to 4 will give "devilish" features ({{arma1}})
}}

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)