groupOwner: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.40 | |1.40 | ||
|gr1 = Multiplayer | |gr1 = Multiplayer | ||
|serverExec= server | |serverExec= server | ||
|arg= global | |arg= global | ||
| Returns the [[Multiplayer_Scripting#Machine_network_ID | machine network ID]] of the client to which the group is local. This command only works when called from the server. When called from a client, it always returns 0. | | Returns the [[Multiplayer_Scripting#Machine_network_ID | machine network ID]] of the client to which the group is local. This command only works when called from the server. When called from a client, it always returns 0. | ||
| '''groupOwner''' group | | '''groupOwner''' group | ||
|p1= group: [[Group]] - | |p1= group: [[Group]] - | ||
|p2 | |p2= | ||
|p3 | |p3= | ||
| [[Number]] | | [[Number]] | ||
|x1= <code>_clientID = [[groupOwner]] _someGroup;</code> | |x1= <code>_clientID = [[groupOwner]] _someGroup;</code> | ||
| [[owner]], [[setOwner]], [[setGroupOwner]], [[local]], [[group]], [[didJIPOwner]], [[remoteExecutedOwner]] | | [[owner]], [[setOwner]], [[setGroupOwner]], [[local]], [[group]], [[didJIPOwner]], [[remoteExecutedOwner]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:40, 18 January 2021
Description
- Description:
- Returns the machine network ID of the client to which the group is local. This command only works when called from the server. When called from a client, it always returns 0.
- Groups:
- Multiplayer
Syntax
Examples
- Example 1:
_clientID = groupOwner _someGroup;
Additional Information
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