radioChannelInfo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|game1= arma3 | |game1= arma3 | ||
|version= 2.00 | |version= 2.00 | ||
|gr1= Radio and Chat | |gr1= Radio and Chat | ||
|gr2= Custom Radio and Chat | |gr2= Custom Radio and Chat | ||
|descr= Obtains custom radio channel's details, set by [[radioChannelCreate]]. | |descr= Obtains custom radio channel's details, set by [[radioChannelCreate]]. | ||
|mp= |Multiplayer Behaviour= | |mp= |Multiplayer Behaviour= | ||
Line 15: | Line 15: | ||
|pr= |Problems= | |pr= |Problems= | ||
|s1= [[radioChannelInfo]] customChannelID | |s1= [[radioChannelInfo]] customChannelID | ||
|p1= customChannelID: [[Number]] - [[Channel IDs|custom channel ID]] returned by [[radioChannelCreate]] | |p1= customChannelID: [[Number]] - [[Channel IDs|custom channel ID]] returned by [[radioChannelCreate]] | ||
|r1= [[Array]] to format [colour, label, callSign, units, sentenceType, exists] (see [[radioChannelCreate]]) | |r1= [[Array]] to format [colour, label, callSign, units, sentenceType, exists] (see [[radioChannelCreate]]) | ||
|x1= <code>[[private]] _channelID = [[radioChannelCreate]] [<nowiki/>[1, 0, 0.5, 0.8], "Q-dance Radio", "%UNIT_NAME", [u1, u2], [[false]]]; | |x1= <code>[[private]] _channelID = [[radioChannelCreate]] [<nowiki/>[1, 0, 0.5, 0.8], "Q-dance Radio", "%UNIT_NAME", [u1, u2], [[false]]]; | ||
[[radioChannelInfo]] _channelID; {{cc|returns [<nowiki/>[1,0,0.5,0.8], "Q-dance Radio", "%UNIT_NAME", [u1, u2], [[false]], [[true]]]}}</code> | [[radioChannelInfo]] _channelID; {{cc|returns [<nowiki/>[1,0,0.5,0.8], "Q-dance Radio", "%UNIT_NAME", [u1, u2], [[false]], [[true]]]}}</code> | ||
|seealso= [[radioChannelCreate]] [[getPlayerChannel]] | |seealso= [[radioChannelCreate]] [[getPlayerChannel]] | ||
}} | }} | ||
Revision as of 01:26, 18 January 2021
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