setRandomLip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
 
(20 intermediate revisions by 2 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


|arg= global |Multiplayer Arguments=
|gr1= Object Manipulation
|eff= local |Multiplayer Effects=


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


| Enables/Disables random lip. When enabled, the unit continuously moves its lips as if it is talking.  |DESCRIPTION=
|s1= unit [[setRandomLip]] bool
____________________________________________________________________________________________


| unit '''setRandomLip''' bool |SYNTAX=
|p1= unit: [[Object]]


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


|p2= bool: [[Boolean]] |PARAMETER2=
|r1= [[Nothing]]


| [[Nothing]] |RETURNVALUE=  
|x1= <sqf>player setRandomLip true;</sqf>


 
|seealso= [[say]] [[setMimic]] [[setFaceAnimation]] [[setFace]]
|x1= <code>[[player]] [[setRandomLip]] [[true]];</code>|EXAMPLE1=
 
____________________________________________________________________________________________
 
| [[say]], [[setMimic]], [[setFaceAnimation]], [[setFace]]|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>
{{GameCategory|arma3|New Scripting Commands List}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}

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