speaker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(formatting)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.02
|version1= 1.02


Line 11: Line 10:
|descr= Returns the speaker class name of a unit.
|descr= Returns the speaker class name of a unit.


|s1= '''speaker''' unit
|s1= [[speaker]] unit


|p1= unit: [[Object]]
|p1= unit: [[Object]]
Line 17: Line 16:
|r1= [[String]]
|r1= [[String]]


|x1= <code>[[speaker]] [[player]]; {{cc|Can return "male09eng"}}</code>
|x1= <sqf>speaker player; // Can return "male09eng"</sqf>


|seealso= [[setSpeaker]]
|seealso= [[setSpeaker]]
}}
}}

Latest revision as of 10:25, 13 May 2022

Hover & click on the images for description

Description

Description:
Returns the speaker class name of a unit.
Groups:
Unit IdentitySounds

Syntax

Syntax:
speaker unit
Parameters:
unit: Object
Return Value:
String

Examples

Example 1:
speaker player; // Can return "male09eng"

Additional Information

See also:
setSpeaker

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