setFaceAnimation: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(2 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) | |descr= Sets facial animation phase (eye blinking). | ||
{{Feature | arma3 | This command is not functional in | {{Feature|arma3|This command is not functional in {{arma3}}.}} | ||
|s1= unit [[setFaceAnimation]] blink | |s1= unit [[setFaceAnimation]] blink | ||
Line 33: | Line 33: | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|p2= blink: [[Number]] | |p2= blink: [[Number]] - range 0..1 | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |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}}) | |||
}} | |||
Latest revision as of 22:15, 13 May 2023
Description
- Description:
- Sets facial animation phase (eye blinking).
- 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
- Posted on Dec 23, 2008 - 09:01 (UTC)
- Setting face animation to 4 will give "devilish" features (Armed Assault)
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Animations
- Command Group: Broken Commands