radioChannelCreate [color, label, callSign, characters]

Operand types

[color, label, callSign, characters]: Array

Type of returned value

Description

Create a custom radio channel with the given color, label, call sign and registered characters.

The index returned can be used to manipulate the created channel later. There are 10 slots for custom radio channels. The command will find an unused index in this range and create it when found.


  • color: Color - RGBA color values

  • label: String - channel label

  • callSign: String - call sign, can be one of the following:


    • "$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"


  • characters: Array - list of units the channel is available to


In multiplayer execute on the server.

Used In

Arma3

Example

_index = radioChannelCreate [[0.96, 0.34, 0.13, 0.8], "Rock Radio", "%UNIT_SIDE", [player]];
Search OFPEC COMREF