radioChannelSetCallSign: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= * " to " ")
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|Comments=
{{Command


| TKOH |Game name=
| TKOH


|1.00|Game version=
|1.00


|gr1= Radio and Chat |GROUP1=
|gr1= Radio and Chat


|gr2= Custom Radio and Chat |GROUP2=
|gr2= Custom Radio and Chat


| Set the custom radio channel's call sign.  
| Set the custom radio channel's call sign.  
Line 22: Line 22:
* %UNIT_GRP_LEADER
* %UNIT_GRP_LEADER
* %UNIT_VEH_NAME
* %UNIT_VEH_NAME
* %UNIT_VEH_POSITION |DESCRIPTION=
* %UNIT_VEH_POSITION


| customChannelID [[radioChannelSetCallSign]] callSign |SYNTAX=
| customChannelID [[radioChannelSetCallSign]] callSign


|p1= customChannelID: [[Number]] - [[Channel IDs|custom channel ID]] returned by [[radioChannelCreate]] command |PARAMETER1=
|p1= customChannelID: [[Number]] - [[Channel IDs|custom channel ID]] returned by [[radioChannelCreate]] command


|p2= callSign: [[String]] - custom call sign |PARAMETER2=
|p2= callSign: [[String]] - custom call sign


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


|x1= <code>4 [[radioChannelSetCallSign]] "%UNIT_NAME";</code>
|x1= <code>4 [[radioChannelSetCallSign]] "%UNIT_NAME";</code>


| [[radioChannelAdd]], [[radioChannelCreate]], [[radioChannelRemove]], [[radioChannelSetLabel]] |SEEALSO=
| [[radioChannelAdd]], [[radioChannelCreate]], [[radioChannelRemove]], [[radioChannelSetLabel]]
}}
}}


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 02:28, 18 January 2021

Hover & click on the images for description

Description

Description:
Set the custom radio channel's call sign. Available special parameters:
  • $KEY (reference to a localized 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
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
Return Value:
Nothing

Examples

Example 1:
4 radioChannelSetCallSign "%UNIT_NAME";

Additional Information

See also:
radioChannelAddradioChannelCreateradioChannelRemoveradioChannelSetLabel

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

Bottom Section