BIS fnc sayMessage: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|gr1 = Sounds |GROUP1=" to "|gr1= Sound |GROUP1=") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 11: | Line 10: | ||
|eff= local |MP Effects= | |eff= local |MP Effects= | ||
| Make a speaker say a message. |DESCRIPTION= | | Make a speaker say a message. |DESCRIPTION= | ||
| [speaker, message, channel] call [[BIS_fnc_sayMessage]] |SYNTAX= | | [speaker, message, channel] call [[BIS_fnc_sayMessage]] |SYNTAX= | ||
Line 25: | Line 22: | ||
| [[Boolean]] - [[true]] when done |RETURNVALUE= | | [[Boolean]] - [[true]] when done |RETURNVALUE= | ||
|x1= <code>[<nowiki/>[[leader]] [[player]], "to_c01_m01_brief_001_br_briefing_a_CENTAUR_0", "say3D"] [[call]] [[BIS_fnc_sayMessage]];</code> |EXAMPLE1= | |x1= <code>[<nowiki/>[[leader]] [[player]], "to_c01_m01_brief_001_br_briefing_a_CENTAUR_0", "say3D"] [[call]] [[BIS_fnc_sayMessage]];</code> |EXAMPLE1= | ||
| [[say]], [[say3D]], [[directSay]], [[groupRadio]], [[vehicleRadio]], [[sideRadio]], [[commandRadio]], [[globalRadio]], [[customRadio]] |SEEALSO= | | [[say]], [[say3D]], [[directSay]], [[groupRadio]], [[vehicleRadio]], [[sideRadio]], [[commandRadio]], [[globalRadio]], [[customRadio]] |SEEALSO= |
Revision as of 23:46, 16 January 2021
Description
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
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