Difference between revisions of "radioChannelInfo"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command
+
{{RV|type=command
  
 
|game1= arma3
 
|game1= arma3
 
+
|version1= 2.00
|version= 2.00
 
  
 
|gr1= Radio and Chat
 
|gr1= Radio and Chat
Line 11: Line 10:
 
|descr= Obtains custom radio channel's details, set by [[radioChannelCreate]].
 
|descr= Obtains custom radio channel's details, set by [[radioChannelCreate]].
  
|mp= |Multiplayer Behaviour=
+
|mp=
  
|pr= |Problems=
+
|pr=
  
 
|s1= [[radioChannelInfo]] customChannelID
 
|s1= [[radioChannelInfo]] customChannelID
Line 26: Line 25:
 
|seealso= [[radioChannelCreate]] [[getPlayerChannel]]
 
|seealso= [[radioChannelCreate]] [[getPlayerChannel]]
 
}}
 
}}
 
<dl class="command_description">
 
<!-- BEGIN Note Section -->
 
 
<!-- END Note Section -->
 
</dl>
 
 
<h3 style="display:none">Bottom Section</h3>
 

Latest revision as of 16:53, 3 May 2021

Hover & click on the images for descriptions

Description

Description:
Obtains custom radio channel's details, set by radioChannelCreate.

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
Groups:
Radio and ChatCustom Radio and Chat

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