Skip to main content

Ownership Device

The ownership_device manages player ownership for associated devices. It allows you to assign a player as the owner through a trigger, unassign the owner with another trigger, and optionally permit any player to remove the current owner. When the designated owner leaves the game, the device automatically unassigns them.

Properties

AssignOwnerTrigger

Type: trigger_device
A trigger device that, when activated, assigns a player as the owner of this device and any associated ownership interfaces.

UnassignOwnerTrigger

Type: trigger_device
A trigger device that, when activated, unassigns the current owner from the device.

AllowAnyPlayerToUnassign

Type: logic
A flag that determines whether any player can unassign the current owner. When set to true, any player is allowed to unassign the owner; otherwise, only the current owner can be unassigned.