Difference between revisions of "radioChannelInfo"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> <!-- BEGIN Note Section --> <!-- END Note Section --> </dl>" to "")
m (Text replacement - "|mp= " to "")
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
|game1= arma3
 
|game1= arma3
 
 
|version1= 2.00
 
|version1= 2.00
  
Line 10: Line 9:
  
 
|descr= Obtains custom radio channel's details, set by [[radioChannelCreate]].
 
|descr= Obtains custom radio channel's details, set by [[radioChannelCreate]].
 
|mp= |Multiplayer Behaviour=
 
 
|pr= |Problems=
 
  
 
|s1= [[radioChannelInfo]] customChannelID
 
|s1= [[radioChannelInfo]] customChannelID

Latest revision as of 21:59, 21 May 2021

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 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