Channel IDs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{SideTOC}}
{{wip|}}
{{wip|}}
This page will explain channel IDs for markers, radio and chat. Channel IDs are the same for markers, chat and '''V'''oice '''O'''ver '''N'''et ('''VON''').
This page will explain channel IDs for markers, radio and chat. Channel IDs are the same for markers, chat and '''V'''oice '''O'''ver '''N'''et ('''VON''').

Revision as of 08:54, 25 October 2020

Template:SideTOC

Template:wip This page will explain channel IDs for markers, radio and chat. Channel IDs are the same for markers, chat and Voice Over Net (VON).

The following systems use channel IDs:

  • Chat
  • Radio (Sentences, for example support calls)
  • VON
  • markers

Introduction

Channel Explanation

In the following, 'content' will be used instead of marker, voice or message)

Channel ID Channel Name Usage
-1 None Is used when a marker is created with createMarker and the channelID parameter was not defined. Markers in "none" channel are visible in all other channels as well.
0 Global Content is visible for all players.
1 Side Content is only visible to the side of the player who created it.
2 Command Example
3 Group Group Chat. This channel cannot be disabled. It's the default fallback channel if all other channels are disabled. Content is only visible for the players in the group of the player who created it.
4 Vehicle For in-vehicle communication. Content is only visible to the vehicle's crew.
5 Direct Voice is only audible for nearby players. Template:AnswerMe
6 - 15 Custom Channels Custom channels can be created on the fly. See radioChannelCreate. Content will only be available for players which have been assigned to this channel. See radioChannelAdd.
  • Besides the above listed channels, there are also other channels not available through sqf, with the only exception being systemChat.

Channel Colours

xChat.jpg
driver vehicle player sideChat "sideChat";
driver vehicle player globalChat "globalChat";
driver vehicle player groupChat "groupChat";
vehicle player vehicleChat "vehicleChat";
driver vehicle player commandChat "commandChat";
driver vehicle player customChat [1, "customChat"];
systemChat "systemChat";

Changing Channels

Ingame Controls
',' and '.' to cycle through the channels
Scripting
setCurrentChannel