owner: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 12: | Line 11: | ||
|serverExec= server|= | |serverExec= server|= | ||
|arg= global |Multiplayer Arguments= | |arg= global |Multiplayer Arguments= | ||
| On server machine, returns the [[Multiplayer_Scripting#Machine_network_ID | machine network ID]] of the client to which the object is [[local]]. Otherwise returns 0. For use on clients [[clientOwner]] command is available. To find out the owner of a [[Group]], use [[groupOwner]].|DESCRIPTION= | | On server machine, returns the [[Multiplayer_Scripting#Machine_network_ID | machine network ID]] of the client to which the object is [[local]]. Otherwise returns 0. For use on clients [[clientOwner]] command is available. To find out the owner of a [[Group]], use [[groupOwner]].|DESCRIPTION= | ||
| '''owner''' object |SYNTAX= | | '''owner''' object |SYNTAX= | ||
Line 30: | Line 27: | ||
|x1= <code>_clientID = [[owner]] _someobject;</code>|EXAMPLE1= | |x1= <code>_clientID = [[owner]] _someobject;</code>|EXAMPLE1= | ||
| [[publicVariableClient]], [[setOwner]], [[setGroupOwner]], [[groupOwner]], [[flagOwner]], [[onPlayerConnected]], [[didJIPOwner]], [[local]], [[admin]], [[remoteExecutedOwner]] |SEEALSO= | | [[publicVariableClient]], [[setOwner]], [[setGroupOwner]], [[groupOwner]], [[flagOwner]], [[onPlayerConnected]], [[didJIPOwner]], [[local]], [[admin]], [[remoteExecutedOwner]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 02:12, 17 January 2021
Description
- Description:
- On server machine, returns the machine network ID of the client to which the object is local. Otherwise returns 0. For use on clients clientOwner command is available. To find out the owner of a Group, use groupOwner.
- Groups:
- Multiplayer
Syntax
Examples
- Example 1:
_clientID = owner _someobject;
Additional Information
- See also:
- publicVariableClientsetOwnersetGroupOwnergroupOwnerflagOwneronPlayerConnecteddidJIPOwnerlocaladminremoteExecutedOwner
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