BIS fnc sayMessage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: MP(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
mNo edit summary
Line 6: Line 6:
|1.00|Game version=
|1.00|Game version=


|gr1 = Multiplayer |GROUP1=
|gr1 = Sounds |GROUP1=


|arg= glob |MP Arguments=
|arg= glob |MP Arguments=

Revision as of 09:15, 12 October 2020

-wrong parameter ("globargument") defined!-LELocal
Hover & click on the images for description

Description

Description:
Make a speaker say a message.
Execution:
call
Groups:
Sounds

Syntax

Syntax:
[speaker, message, channel] call BIS_fnc_sayMessage
Parameters:
speaker: Object or Side
message: String - must be defined in either CfgSounds or CfgRadio
channel: String or Number - (Optional, default "side") can be "say3D", "direct", "group", "vehicle", "side", "command", "global", or custom channel ID
Return Value:
Boolean - true when done

Examples

Example 1:
[leader player, "to_c01_m01_brief_001_br_briefing_a_CENTAUR_0", "say3D"] call BIS_fnc_sayMessage;

Additional Information

See also:
saysay3DdirectSaygroupRadiovehicleRadiosideRadiocommandRadioglobalRadiocustomRadio

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

Notes

Bottom Section