radioChannelInfo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.00 | |||
| | |||
|gr1= Radio and Chat | |gr1= Radio and Chat | ||
Line 10: | Line 9: | ||
|descr= Obtains custom radio channel's details, set by [[radioChannelCreate]]. | |descr= Obtains custom radio channel's details, set by [[radioChannelCreate]]. | ||
|s1= [[radioChannelInfo]] customChannelID | |s1= [[radioChannelInfo]] customChannelID | ||
Line 19: | Line 14: | ||
|p1= customChannelID: [[Number]] - [[Channel IDs|custom channel ID]] returned by [[radioChannelCreate]] | |p1= customChannelID: [[Number]] - [[Channel IDs|custom channel ID]] returned by [[radioChannelCreate]] | ||
|r1= [[Array]] | |r1= [[Array]] in format [colour, label, callSign, units, sentenceType, exists] (see [[radioChannelCreate]]) | ||
|x1= < | |x1= <sqf> | ||
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] | |||
</sqf> | |||
|seealso= [[radioChannelCreate]] [[getPlayerChannel]] | |seealso= [[radioChannelCreate]] [[getPlayerChannel]] | ||
}} | }} | ||
Latest revision as of 12:08, 4 May 2022
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 in 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