Difference between revisions of "radioChannelInfo"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Channel IDsIcustomChannelID" to "customChannelID")
Line 17: Line 17:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|s1= [[radioChannelInfo]] [[Channel IDsIcustomChannelID]]|Syntax=
+
|s1= [[radioChannelInfo]] customChannelID|Syntax=
  
|p1= [[Channel IDsIcustomChannelID]]: [[Number]] - custom radio channel ID returned by [[radioChannelCreate]]
+
|p1= customChannelID: [[Number]] - custom radio channel ID returned by [[radioChannelCreate]]
  
 
|r1= [[Array]] to format  [colour, label, callSign, units, sentenceType, exists] (see [[radioChannelCreate]]) |Return Value=
 
|r1= [[Array]] to format  [colour, label, callSign, units, sentenceType, exists] (see [[radioChannelCreate]]) |Return Value=

Revision as of 10:27, 29 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 customChannelID
Parameters:
customChannelID: Number - custom radio channel ID returned by radioChannelCreate
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