owner

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2 version 1.00
  Arguments of this scripting command don't have to be local to the client the command is executed onThis scripting command must be executed on the server to work properly in multiplayer

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

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.

Syntax

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

Examples

Example 1:
_clientID = owner _someobject;

Additional Information

Multiplayer:
-
See also:
publicVariableClientsetOwnersetGroupOwnergroupOwnerflagOwneronPlayerConnecteddidJIPOwnerlocaladminremoteExecutedOwner

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section