Difference between revisions of "radioChannelInfo"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Command Group: Radio Control" to "")
m (Text replacement - "1.99" to "2.00")
Line 3: Line 3:
 
|game1= arma3dev |Game name=
 
|game1= arma3dev |Game name=
  
|version= 1.99 |Game version=
+
|version= 2.00 |Game version=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 15:41, 16 October 2020

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version |?]]
Hover & click on the images for description

Description

Description:
Obtains custom radio channel's details, set by radioChannelCreate.
Groups:
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

[[Category:Introduced with arma3dev version ]][[ Category: arma3dev: New Scripting Commands | RADIOCHANNELINFO]][[ Category: arma3dev: Scripting Commands | RADIOCHANNELINFO]]

Bottom Section