owner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 7: Line 7:


|exec= server|=
|exec= server|=
|arg= global |= Arguments in MP
|arg= global |Multiplayer Arguments=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 11:12, 5 August 2019

Hover & click on the images for description

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

Syntax:
owner object
Parameters:
object: Object -
Return Value:
Number

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

Notes

Bottom Section