setRandomLip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
 
(4 intermediate revisions by the same user not shown)
Line 11: Line 11:
|descr= 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.


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


|p1= unit: [[Object]]
|p1= unit: [[Object]]
Line 19: Line 19:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso= [[say]], [[setMimic]], [[setFaceAnimation]], [[setFace]]
|seealso= [[say]] [[setMimic]] [[setFaceAnimation]] [[setFace]]
}}
}}

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