Used to amplify an agent
's damage temporarily. This applies to any weapon the agent
is using at the time of the powerup.
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. |
powerup_device |
Base class for various powerup devices offering common events like |
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 |
---|---|
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. |
GetMagnitude |
Returns the current Magnitude for the powerup. For the Damage Amplifier Powerup, this is the damage multiplier. |
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 |
Pickup |
Grants this powerup to |
Pickup |
Grants this powerup without an agent reference. Requires Apply To set to All Players. |
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. |
SetMagnitude |
Sets the Magnitude for this powerup, clamped to the Min and Max defined in the device. Will not apply to any currently applied effects. For the Damage Amplifier Powerup, this is the damage multiplier. |
Spawn |
Spawns the powerup into the experience so users can interact with it. |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |