Arma 3 Scripting

owner

  • Global argument
  • Server only
  • Arma 3 v0.50
  • First in Arma 2 v1.00

Command · Markdown · JSON · original wiki page

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.

Syntax

owner object

Parameters:

Returns: Number

Examples

Example 1

_clientID = owner _someobject;

See also

publicVariableClient · setOwner · setGroupOwner · groupOwner · flagOwner · onPlayerConnected · didJIPOwner · local · admin · remoteExecutedOwner