speaker: 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 - " {3,}\|" to " |")
Line 15: Line 15:
|p1= person: [[Object]]
|p1= person: [[Object]]
| [[String]]
| [[String]]


|x1= <code>[[speaker]] [[player]];</code>
|x1= <code>[[speaker]] [[player]];</code>


| [[setSpeaker]]
| [[setSpeaker]]

Revision as of 19:08, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns the speaker of a person.
Groups:
Unit IdentitySounds

Syntax

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

Examples

Example 1:
speaker player;

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