setFaceAnimation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "</dd> </dl>" to "</dd> </dl>")
m (Some wiki formatting)
 
(9 intermediate revisions by the same user not shown)
Line 26: Line 26:
|gr2= Broken Commands
|gr2= Broken Commands


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


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


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


|p2= blink: [[Number]]
|p2= blink: [[Number]] - range 0..1


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>_soldier1 [[setFaceAnimation]] 0.5;</code>
|x1= <sqf>_soldier1 setFaceAnimation 0.5;</sqf>


|seealso= [[setRandomLip]], [[setMimic]], [[animate]], [[animationPhase]], [[animateDoor]]
|seealso= [[setRandomLip]] [[setMimic]] [[animate]] [[animationPhase]] [[animateDoor]]
}}
{{Note
|user= Lou Montana
|timestamp= 20081223090100
|text= Setting face animation to 4 will give "devilish" features ({{arma1}})
}}
}}
<dl class="command_description">
<dt></dt>
<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 ({{arma1}})</dd>
</dl>

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)