setRandomLip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 0.50
|0.50


|arg= global
|arg= global
Line 10: Line 9:
|gr1= Object Manipulation
|gr1= Object Manipulation


| Enables/Disables random lip. When enabled, the unit continuously moves its lips as if it is talking.
|descr= Enables/Disables random lip. When enabled, the unit continuously moves its lips as if it is talking.


| unit '''setRandomLip''' bool
|s1= unit [[setRandomLip]] bool


|p1= unit: [[Object]]
|p1= unit: [[Object]]
Line 18: Line 17:
|p2= bool: [[Boolean]]
|p2= bool: [[Boolean]]


| [[Nothing]]
|r1= [[Nothing]]
 
 
|x1= <code>[[player]] [[setRandomLip]] [[true]];</code>
 


| [[say]], [[setMimic]], [[setFaceAnimation]], [[setFace]]
|x1= <sqf>player setRandomLip true;</sqf>


|
|seealso= [[say]] [[setMimic]] [[setFaceAnimation]] [[setFace]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 15:11, 5 May 2022

Hover & click on the images for description

Description

Description:
Enables/Disables random lip. When enabled, the unit continuously moves its lips as if it is talking.
Groups:
Object Manipulation

Syntax

Syntax:
unit setRandomLip bool
Parameters:
unit: Object
bool: Boolean
Return Value:
Nothing

Examples

Example 1:
player setRandomLip true;

Additional Information

See also:
say setMimic setFaceAnimation setFace

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