radioChannelInfo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix version) |
Lou Montana (talk | contribs) |
||
Line 34: | Line 34: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Command Group: Radio Control]] |
Revision as of 17:45, 16 August 2020
Description
- Description:
- Obtains custom radio channel's details, set by radioChannelCreate.
- Groups:
- Uncategorised
Syntax
- Syntax:
- radioChannelInfo channelId
- Parameters:
- channelId: Number - radio channel id
- Return Value:
- Array to format [colour, label, callSign, units, sentenceType, exists] (see radioChannelCreate)
Examples
- Example 1:
private _channelId = radioChannelCreate [[1, 0, 0.5, 0.8], "Q-dance Radio", "%UNIT_NAME", [u1, u2], false]; radioChannelInfo _channelId; // returns [[1,0,0.5,0.8], "Q-dance Radio", "%UNIT_NAME", [u1, u2], false, true]
Additional Information
- See also:
- radioChannelCreate getPlayerChannel
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
[[Category:Introduced with arma3dev version ]][[ Category: arma3dev: New Scripting Commands | RADIOCHANNELINFO]][[ Category: arma3dev: Scripting Commands | RADIOCHANNELINFO]]