groupOwner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
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

Hover & click on the images for description

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

Syntax:
groupOwner group
Parameters:
group: Group -
Return Value:
Number

Examples

Example 1:
_clientID = groupOwner _someGroup;

Additional Information

See also:
ownersetOwnersetGroupOwnerlocalgroupdidJIPOwnerremoteExecutedOwner

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

Notes

Bottom Section