Used to grant items to agent
s. Items can either be dropped at the agent
's location or added directly to their inventory.
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 |
---|---|---|
ItemGrantedEvent |
listenable(payload) |
Signaled when an item is granted to an |
Functions
Function Name | Description |
---|---|
ClearSaveData |
Clears saved data for |
CycleToNextItem |
Cycles to the next item. If Grant on Cycle is set |
CycleToPreviousItem |
Cycles to the previous item. If Grant on Cycle is set |
CycleToRandomItem |
Cycles to a random item. If Grant on Cycle is set |
Disable |
Disables this device. |
Enable |
Enables this device. |
GetItemIndex |
Returns the current Item Index that this device will grant when activated. |
GetTransform |
Returns the transform of the |
GrantItem |
Grants an item to |
GrantItemIndex |
Grants an item at a specific |
GrantItemIndex |
Grants an item at a specific |
GrantItemToAll |
Grants an item without requiring an agent reference. This only works when Receiving Players is set to All or Team Index. |
MoveTo |
Moves the |
MoveTo |
Moves the |
RestockItems |
Restocks this device back to its starting inventory count. |
SetNextItem |
Sets the next item to be granted.
|
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |