radioChannelInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (channelID)
m (Text replacement - "|gr2= Custom Radio |GROUP2=" to "|gr2= Custom Radio and Chat |GROUP2=")
Line 7: Line 7:
|gr1= Radio and Chat |GROUP1=
|gr1= Radio and Chat |GROUP1=


|gr2= Custom Radio |GROUP2=
|gr2= Custom Radio and Chat |GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 18:01, 24 October 2020

Hover & click on the images for description

Description

Description:
Obtains custom radio channel's details, set by radioChannelCreate.
Groups:
Radio and ChatCustom Radio and Chat

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

Bottom Section