Base class for various powerup devices offering common events like ItemPickedUpEvent.
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 |
|---|---|---|
ItemPickedUpEvent |
listenable(payload) |
Signaled when the powerup is picked up by an |
Functions
| Function Name | Description |
|---|---|
AddTag |
Adds a |
Clear |
Removes the powerup effect from |
ClearForAll |
Removes the powerup effect without an agent reference. Requires Apply To set to All Players. |
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 |
Despawn |
Despawns this powerup from the experience. |
GetDuration |
Returns the Duration that this powerup will be active for on any player it is applied to. |
GetGlobalTransform |
Gets the global transform of this object. |
GetRemainingTime |
If the |
GetTransform |
Returns the transform of the |
HasEffect |
Returns the |
IsSpawned |
Succeeds if the powerup is currently spawned. |
MoveTo |
Moves the |
MoveTo |
Moves the |
MoveTo |
Moves the |
Pickup |
Grants this powerup to |
Pickup |
Grants this powerup without an agent reference. Requires Apply To set to All Players. |
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 |
SetDuration |
Updates the Duration for this powerup, clamped to the Min and Max defined in the device. Will not apply to any currently applied effects. |
SetGlobalTransform |
Sets the global transform of this object. |
Spawn |
Spawns the powerup into the experience so users can interact with it. |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |