getPlayerChannel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(first command page....)
 
(wrong version)
Line 2: Line 2:
______________________________________________________________________________________________
______________________________________________________________________________________________


| ofp |= Game name
| a3 |= Game name


|1.00|= Game version
|1.42|= Game version


|arg= local |= Arguments in MP
|arg= local |= Arguments in MP
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_channel = [[getPlayerChannel]] player;</code> Returns current channel in which you speak... -1 if you dont speak... |= Example 1
|x1= <code>_channel = [[getPlayerChannel]] [[player]];</code> Returns current channel in which you speak... -1 if you dont speak... |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:07, 9 June 2015

-wrong parameter ("a3") defined!-[[:Category:Introduced with a3 version 1.42|1.42]]
Hover & click on the images for description

Description

Description:
Show number of channel you temp. speaking in...
Groups:
Uncategorised

Syntax

Syntax:
Number = getPlayerChannel player
Parameters:
player: Object
Return Value:
Number

Examples

Example 1:
_channel = getPlayerChannel player; Returns current channel in which you speak... -1 if you dont speak...

Additional Information

See also:
setCurrentChannel

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 | GETPLAYERCHANNEL]][[ Category: a3: Scripting Commands | GETPLAYERCHANNEL]]

Notes

Bottom Section