setFaceAnimation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (Some wiki formatting)
 
(64 intermediate revisions by 14 users not shown)
Line 1: Line 1:
back to [[Scripting_Reference#S|COMREF]]
{{RV|type=command


<h2 style="color:#000066">'''''person'' setFaceAnimation ''blink'''''</h2>
|game1= ofp
|version1= 1.00


|game2= ofpe
|version2= 1.00


'''Operand types:'''
|game3= arma1
|version3= 1.00


'''person:''' [[Object]]
|game4= arma2
|version4= 1.00


'''blink:''' [[Number]]
|game5= arma2oa
|version5= 1.50


'''Type of returned value:'''
|game6= tkoh
|version6= 1.00


[[Nothing]]
|game7= arma3
|version7= 0.50


'''Description:'''
|gr1= Animations


Set facial animation phase (eye blinking), blink in range 0 to 1.
|gr2= Broken Commands


|descr= Sets facial animation phase (eye blinking).
{{Feature|arma3|This command is not functional in {{arma3}}.}}


'''Example:'''
|s1= unit [[setFaceAnimation]] blink


soldier1 '''setFaceAnimation''' 0.5
|p1= unit: [[Object]]
 
|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)