groupOwner: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 12: | Line 11: | ||
|serverExec= server|= | |serverExec= server|= | ||
|arg= global |Multiplayer Arguments= | |arg= global |Multiplayer Arguments= | ||
| 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. |DESCRIPTION= | | 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. |DESCRIPTION= | ||
| '''groupOwner''' group |SYNTAX= | | '''groupOwner''' group |SYNTAX= | ||
Line 30: | Line 27: | ||
|x1= <code>_clientID = [[groupOwner]] _someGroup;</code>|EXAMPLE1= | |x1= <code>_clientID = [[groupOwner]] _someGroup;</code>|EXAMPLE1= | ||
| [[owner]], [[setOwner]], [[setGroupOwner]], [[local]], [[group]], [[didJIPOwner]], [[remoteExecutedOwner]] |SEEALSO= | | [[owner]], [[setOwner]], [[setGroupOwner]], [[local]], [[group]], [[didJIPOwner]], [[remoteExecutedOwner]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 01:40, 17 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