Holds and spawns items, with an optional cost for each item. Can hold up to three items, and agents can cycle between these by hitting the machine with their pickaxe.
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. |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
ItemSpawnedEvent |
listenable(payload) |
Signaled when an item is spawned from this device.
Sends the |
Functions
| Function Name | Description |
|---|---|
AddTag |
Adds a |
ContainsAllTags |
Fails if at least one type in |
ContainsAnyTag |
Succeeds if at least one of the types in |
ContainsTag |
Succeeds if at least one tag of type |
CycleToNextItem |
Cycles the screen to show the next item. |
Disable |
Disables this device. |
Enable |
Enables this device. |
GetGlobalTransform |
Gets the global transform of this object. |
GetTransform |
Returns the transform of the |
MoveTo |
Moves the |
MoveTo |
Moves the |
MoveTo |
Moves the |
RemoveAllTags |
Removes all tag instances of type |
RemoveAllTagsExcept |
Removes all tag instances that are not of type |
RemoveAllTagsExcept |
Removes all tag instances that are not of any of the types in |
RemoveTag |
Removes the tag instance associated with the |
SetGlobalTransform |
Sets the global transform of this object. |
SpawnItem |
Spawns an item. |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |