radioChannelSetCallSign: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
|descr= Set the custom radio channel's call sign. | |descr= Set the custom radio channel's call sign. | ||
|s1= customChannelID [[radioChannelSetCallSign]] callSign | |s1= customChannelID [[radioChannelSetCallSign]] callSign | ||
Line 30: | Line 17: | ||
|p1= customChannelID: [[Number]] - [[Channel IDs|custom channel ID]] returned by [[radioChannelCreate]] command | |p1= customChannelID: [[Number]] - [[Channel IDs|custom channel ID]] returned by [[radioChannelCreate]] command | ||
|p2= callSign: [[String]] - custom call sign | |p2= callSign: [[String]] - custom call sign - available special parameters: | ||
{{Columns|3| | |||
* {{hl|$KEY}} (reference to a localised text) | |||
* {{hl|%CHANNEL_LABEL}} | |||
* {{hl|%UNIT_SIDE}} | |||
* {{hl|%UNIT_NAME}} | |||
* {{hl|%UNIT_RANK}} | |||
* {{hl|%UNIT_ID}} | |||
* {{hl|%UNIT_REF}} | |||
* {{hl|%UNIT_GRP_NAME}} | |||
* {{hl|%UNIT_GRP_LEADER}} | |||
* {{hl|%UNIT_VEH_NAME}} | |||
* {{hl|%UNIT_VEH_POSITION}} | |||
}} | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>4 radioChannelSetCallSign "%UNIT_NAME";</sqf> | ||
|seealso= [[radioChannelAdd]] [[radioChannelCreate]] [[radioChannelRemove]] [[radioChannelSetLabel]] | |seealso= [[radioChannelAdd]] [[radioChannelCreate]] [[radioChannelRemove]] [[radioChannelSetLabel]] | ||
}} | }} |
Latest revision as of 21:08, 30 March 2024
Description
- Description:
- Set the custom radio channel's call sign.
- Groups:
- Radio and ChatCustom Radio and Chat
Syntax
- Syntax:
- customChannelID radioChannelSetCallSign callSign
- Parameters:
- customChannelID: Number - custom channel ID returned by radioChannelCreate command
- callSign: String - custom call sign - available special parameters:
- $KEY (reference to a localised text)
- %CHANNEL_LABEL
- %UNIT_SIDE
- %UNIT_NAME
- %UNIT_RANK
- %UNIT_ID
- %UNIT_REF
- %UNIT_GRP_NAME
- %UNIT_GRP_LEADER
- %UNIT_VEH_NAME
- %UNIT_VEH_POSITION
- Return Value:
- Nothing
Examples
- Example 1:
- 4 radioChannelSetCallSign "%UNIT_NAME";
Additional Information
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