owner: 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 | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1 = Multiplayer | |gr1 = Multiplayer | ||
|serverExec= server | |serverExec= server | ||
|arg= global | |arg= global | ||
| 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]]. | | 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]]. | ||
| '''owner''' object | | '''owner''' object | ||
|p1= object: [[Object]] - | |p1= object: [[Object]] - | ||
|p2 | |p2= | ||
|p3 | |p3= | ||
| [[Number]] | | [[Number]] | ||
|x1= <code>_clientID = [[owner]] _someobject;</code> | |x1= <code>_clientID = [[owner]] _someobject;</code> | ||
| [[publicVariableClient]], [[setOwner]], [[setGroupOwner]], [[groupOwner]], [[flagOwner]], [[onPlayerConnected]], [[didJIPOwner]], [[local]], [[admin]], [[remoteExecutedOwner]] | | [[publicVariableClient]], [[setOwner]], [[setGroupOwner]], [[groupOwner]], [[flagOwner]], [[onPlayerConnected]], [[didJIPOwner]], [[local]], [[admin]], [[remoteExecutedOwner]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 01:11, 18 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