TransferOwnership

Method

Transfer the ownership of an object to another actor. This will only succeed if the local actor is the owner or hasControl of the object. This will fail if:

Definition

SpaceObjectOwnershipTransferRequest TransferOwnership(int objectID, int newOwnerActor)
SpaceObjectOwnershipTransferRequest TransferOwnership(int objectID, int newOwnerActor)

Returns SpaceObjectOwnershipTransferRequest

Parameters

ParameterDescription
int objectID

The space object to transfer ownership of

int newOwnerActor

The actor ID of the new owner