radioChannelSetCallSign: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Some wiki formatting)
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
{{RV|type=command


{{Command|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| TKOH |= Game name
|game2= arma3
|version2= 0.50


|1.00|= Game version
|gr1= Radio and Chat
____________________________________________________________________________________________


| Set the custom radio channel's call sign.
|gr2= Custom Radio and Chat


Available special parameters:
|descr= Set the custom radio channel's call sign.
* $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 |DESCRIPTION=
____________________________________________________________________________________________


| index '''radioChannelSetCallSign''' callSign|SYNTAX=
|s1= customChannelID [[radioChannelSetCallSign]] callSign


|p1= index : [[Number]] - custom radio 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=


| [[Nothing]] |RETURNVALUE=
|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}}
}}


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


| [[radioChannelAdd]], [[radioChannelCreate]], [[radioChannelRemove]], [[radioChannelSetLabel]] |SEEALSO=
|x1= <sqf>4 radioChannelSetCallSign "%UNIT_NAME";</sqf>


|seealso= [[radioChannelAdd]] [[radioChannelCreate]] [[radioChannelRemove]] [[radioChannelSetLabel]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Latest revision as of 21:08, 30 March 2024

Hover & click on the images for description

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

See also:
radioChannelAdd radioChannelCreate radioChannelRemove radioChannelSetLabel

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