Skip to main content

Owned Button Device

The owned_button_device combines a button with ownership functionality. It integrates with an external ownership device to manage and verify the owner of the button. When the designated owner interacts with the button, a specific trigger is activated, and the button's interaction text is updated to reflect the owner's identity and a customizable action message.

Properties

Button

Type: button_device
The button component that players interact with. When an owner is set, the button displays an interaction text; if no owner is assigned, the button is disabled.

ActionText

Type: string
A customizable text string used to generate the button's interaction message in conjunction with the owner's name.

This will display as: [PlayerName] {ActionText}

OwnerInteractedTrigger

Type: trigger_device
The trigger device that is activated when the assigned owner interacts with the button.

OwnershipDevice

Type: ownership_device
An external device responsible for managing ownership. It links the owned button to the broader ownership system.