setRandomLip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(example, description)
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
 
(32 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 0.50


|0.50|= Game version
|arg= global
____________________________________________________________________________________________
|eff= local


| Enables/Disables random lip. When enabled, the unit continuously moves its lips as if it's talking.  |= Description
|gr1= Object Manipulation
____________________________________________________________________________________________


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


|p1= unit: [[Object]] |= PARAMETER1
|s1= unit [[setRandomLip]] bool


|p2= bool: [[Boolean]] |= PARAMETER2
|p1= unit: [[Object]]


| [[Nothing]] |= RETURNVALUE
|p2= bool: [[Boolean]]


|r1= [[Nothing]]


|x1= <code>[[player]] [[setRandomLip]] [[true]];</code>|= EXAMPLE1
|x1= <sqf>player setRandomLip true;</sqf>


____________________________________________________________________________________________
|seealso= [[say]] [[setMimic]] [[setFaceAnimation]] [[setFace]]
 
| [[say]] |= SEEALSO
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14: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