An indestructible chest that can be locked and unlocked.
Verse using statement |
using { /Fortnite.com/Devices } |
Inheritance Hierarchy
This class is derived from the following hierarchy, starting with creative_object:
| Name | Description |
|---|---|
creative_object |
Base class for creative devices and props. |
creative_device_base |
Base class for creative_device. |
Exposed Interfaces
This class exposes the following interfaces:
| Name | Description |
|---|---|
enableable |
Implemented by classes whose instances can be enabled and disabled. |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
ChestRank |
?hero_chest_rank |
Determines the hologram that appears above the chest, as well as the loot the chest contains.
|
LockedDescription |
?message |
Descriptive text shown when interacting while the chest is locked.
|
LockedLabel |
?message |
Main text shown when interacting while the chest is locked.
|
LockedSublabel |
?message |
Additional text shown when interacting while the chest is locked.
|
OpenEvent |
listenable(payload) |
Triggers whenever the chest is opened, returning the |
ShowHologram |
?logic |
Whether to show the rank hologram while the chest is closed. |
Functions
| Function Name | Description |
|---|---|
Disable |
Disable the device. While disabled, the chest can't be interacted with. |
Enable |
Enable the device, allowing interaction. |
GetRankAsString |
Returns the chest rank as a |
GetTransform |
Returns the transform of the |
IsEnabled |
Succeeds if the device is enabled, fails if it's disabled. |
IsLocked |
Succeeds if the chest is locked for |
IsLockedForAll |
Succeeds if the chest's default locked state is Locked.
|
IsOpen |
Succeeds if the chest is currently open, fails if it's closed. |
Lock |
Lock the chest for |
LockForAll |
Lock the chest for everyone, and set this chest's default state to Locked. |
MoveTo |
Moves the |
MoveTo |
Moves the |
Open |
Open the chest. |
Reset |
Close the chest, refresh its loot, and set the chest to its default locked state for everyone.
|
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |
Unlock |
Unlock the chest for |
UnlockForAll |
Unlock the chest for everyone, and set this chest's default state to Unlocked. |