owner: Difference between revisions
Jump to navigation
Jump to search
(populated) |
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
||
(27 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma2 | | | arma2 |Game name= | ||
|1.00| | |1.00|Game version= | ||
|exec= server|= | |||
|arg= global |Multiplayer Arguments= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| On server machine, | | On server machine, returns the ID of the client where 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 |= | | '''owner''' object |SYNTAX= | ||
|p1= object: [[Object]] - |= | |p1= object: [[Object]] - |PARAMETER1= | ||
|p2= |= | |p2= |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| [[Number]] |= | | [[Number]] |RETURNVALUE= | ||
|x1= <code> | |x1= <code>_clientID = [[owner]] _someobject;</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[publicVariableClient]], [[setOwner]], [[setGroupOwner]], [[groupOwner]], [[flagOwner]], [[onPlayerConnected]], [[didJIPOwner]], [[local]], [[admin]], [[remoteExecutedOwner]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} | ||
Line 41: | Line 44: | ||
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | [[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]] |
Revision as of 15:52, 1 September 2019
Description
- Description:
- On server machine, returns the ID of the client where 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:
- Uncategorised
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