BIS fnc sayMessage: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 6: | Line 5: | ||
|1.00|= Game version | |1.00|= Game version | ||
| | |arg= glob |= | ||
|eff= local |= | |||
____________________________________________________________________________________________ | |||
| Make a speaker say a message. |= Description | |||
____________________________________________________________________________________________ | |||
| [speaker, message, channel] call [[BIS_fnc_sayMessage]] |= Syntax | |||
|p1= speaker: [[Object]] or [[Side]] |= Parameter 1 | |||
| | |p2= message: [[String]] - must be defined in either [[Description.ext#CfgSounds|CfgSounds]] or [[Description.ext#CfgRadio|CfgRadio]] |= Parameter 2 | ||
| | |p3= channel: [[String]] or [[Number]] - (Optional, default "side") can be "say3D", "direct", "group", "vehicle", "side", "command", "global", or custom channel ID |= Parameter 3 | ||
| |= Return value | | [[Boolean]] - [[true]] when done |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code><nowiki>[</nowiki>[[leader]] [[player]], "to_c01_m01_brief_001_br_briefing_a_CENTAUR_0", "say3D"] [[call]] [[BIS_fnc_sayMessage]];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[say]], [[say3D]], [[directSay]], [[groupRadio]], [[vehicleRadio]], [[sideRadio]], [[commandRadio]], [[globalRadio]], [[customRadio]] |= See also | ||
}} | }} | ||
Revision as of 17:28, 8 May 2018
Description
- Description:
- Make a speaker say a message.
- Execution:
- call
- Groups:
- Uncategorised
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