setCurrentChannel

From Bohemia Interactive Community
Revision as of 22:09, 23 August 2015 by Dr StrangePete (talk | contribs) (Command Group: Radio Control)
Jump to navigation Jump to search
-wrong parameter ("a3") defined!-[[:Category:Introduced with a3 version 1.42|1.42]]
Hover & click on the images for description

Description

Description:
Sets given channel as current channel. Returns true on success. Channel / Number correspondence:
  • 0 - Global
  • 1 - Side
  • 2 - Command
  • 3 - Group
  • 4 - Vehicle
  • 5 - Direct
Groups:
Uncategorised

Syntax

Syntax:
setCurrentChannel channel
Parameters:
channel: Number
Return Value:
Boolean

Examples

Example 1:
_isset = setCurrentChannel 5;

Additional Information

See also:
getPlayerChannelcurrentChannel

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

[[Category:Introduced with a3 version 1.42]][[ Category: a3: New Scripting Commands | SETCURRENTCHANNEL]][[ Category: a3: Scripting Commands | SETCURRENTCHANNEL]]

Notes

Bottom Section