點擊圖片可看到更多訊息
開始使用於
- 遊戲:
- Arma 3
- 版本:
- 1.42
描述
- 描述:
- Sets given channel as current chat channel. Scripted way of selecting desired channel on the UI. The given channel may be disabled (see enableChannel), this is why this command returns boolean, true on success or false on failure. Correspondence between channel and number:
- 0 = Global
- 1 = Side
- 2 = Command
- 3 = Group
- 4 = Vehicle
- 5 = Direct
- 6-15 = Custom Radio (see radioChannelCreate)
基本句法
範例
- 範例1:
_isDirectSelected = setCurrentChannel 5; // sets Direct channel as current active
額外資訊
注意事項
Notes
Bottom Section
- Posted on December 9, 2015 - 16:45 (UTC)
- Commy2
-
This command can be used together with custom radio channels, but an offset of 5 must be added to the index from radioChannelCreate.
_index = radioChannelCreate [[1, 0, 0, 1], "Custom Channel 1", "%UNIT_NAME", [player]]; setCurrentChannel (_index + 5);