setOwner

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in Arma 2: Operation Arrowhead version 1.62

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.62

Description

Description:
From server machine, change the ownership of an object to a given client. Returns true if locality was changed.

Syntax

Syntax:
object setOwner clientID
Parameters:
object: Object -
clientID: Number - clientID of the new owner
Return Value:
Boolean

Examples

Example 1:
_someObject setOwner 12;
Example 2:
_someObject setOwner (owner _playerObject);

Additional Information

Multiplayer:
-
See also:
owner

Notes

Notes

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section