anfo 118 Posted February 14, 2020 Hi I'm having trouble understanding how to use setCurrentChannel. What I would like is to add the script to, say, initPlayerLocal.sqf and then all players who join a dedicated server are automatically moved to the group (3) channel, for example: _isGroupSelected = setCurrentChannel 3; Can this script be used in this fashion? Share this post Link to post Share on other sites
Harzach 2424 Posted February 14, 2020 Looking at the Biki entry, for your case it should suffice to use simply setCurrentChannel 3; though adding the the handle shouldn't make a difference. Share this post Link to post Share on other sites
phronk 895 Posted February 16, 2020 setCurrentChannel simply switches the player's currently selected VOIP channel. It's the equivalent of cycling through Global, Side, Commmand, Group, Vehicle, Direct, and custom channels, but lets you just switch directly to one of them, if you use the proper channel index. For example, setCurrentChannel 3; will set the player's current channel to Group. They can still cycle out of it into another one though, unless you code a workaround which blocks the player from switching to another channel, forcing them to use the channel you've set them to. Each default Arma channel has their own quirks; when you're in Group channel, talking in that channel will make you audible to other players in your Group. You can also type and create markers which are also only visible by those in your Group. Direct is visible/audible to players within about 50 meters of you -- including enemy players. The rest are pretty self-explanatory. Hope it helps. 1 Share this post Link to post Share on other sites