radioChannelSetCallSign

From Bohemia Interactive Community
Hover & click on the images for description

Description

Description:
Set the custom radio chat channel's callsign / VoN callsign.
Groups:
Radio and ChatCustom Radio and Chat

Syntax

Syntax:
customChannelID radioChannelSetCallSign callSign
Parameters:
customChannelID: Number - custom channel ID returned by radioChannelCreate command
callSign: String or Arma 3 logo black.png 2.22 Array - custom chat callsign or [callSign, callSignVoN]. Available parameters:
Parameter Description Example
%$KEY Reference a localised text "%$STR_Q_North" → "North"
%CHANNEL_LABEL The channel's label - see radioChannelSetLabel "Q-dance Radio"
%UNIT_SIDE Side's name, similar to sideRadio "BLUFOR"
%UNIT_NAME The player's or AI's name - see name "John Doe"
%UNIT_RANK A shorthand version of the unit's rank "Sgt"
%UNIT_ID The unit's id in the group "1"
%UNIT_REF The unit's log reference "Unit123456"
%UNIT_GRP_NAME The group's name - see setGroupId "Alpha 1-1"
%UNIT_GRP_LEADER Group leader mention (if the unit is its group's leader) ", group leader"
%UNIT_VEH_NAME Display name of the unit's vehicle "Hunter"
%UNIT_VEH_POSITION Unit's vehicle position, similar to vehicleRadio "Gunner"
%% To display a normal percentage sign N/A
↑ Back to spoiler's top
Return Value:
Nothing

Examples

Example 1:
4 radioChannelSetCallSign "(%UNIT_ID) %UNIT_RANK %UNIT_NAME%UNIT_GRP_LEADER"; // (1) Sgt Ben Kelly, group leader
Example 2:
4 radioChannelSetCallSign ["%UNIT_VEH_POSITION, %UNIT_VEH_NAME", "%UNIT_NAME%UNIT_GRP_LEADER"];

Additional Information

See also:
radioChannelAdd radioChannelCreate radioChannelRemove radioChannelSetLabel

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note