Used to create an environmental prop that applies Nitro to those around it when it is destroyed.
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 |
---|---|---|
ExplodedEvent |
listenable(payload) |
Triggers when the barrel explodes after being launched. Sends the launching |
LaunchedEvent |
listenable(payload) |
Triggers when an |
Functions
Function Name | Description |
---|---|
AllowRespawn |
Allows the barrel to respawn after it explodes, waiting RespawnDelay seconds. |
Disable |
Disables and hides the barrel.Disabling the device will remove an existing barrel and reset the respawn delay. |
DisallowRespawn |
Prevents the barrel from respawning.The RespawnDelay countdown will not start. If the countdown has already started, the barrel will not respawn when it ends. |
Enable |
Enables and shows the barrel.Enabling the device when it's disabled will spawn a new barrel. |
GetLaunchForceMultiplier |
Returns the force multiplier to launch the barrel. |
GetRespawnDelay |
Returns the delay between exploding and respawning (if allowed), in seconds. |
GetTransform |
Returns the transform of the |
IsEnabled |
Succeeds if the barrel is enabled and visible. |
IsRespawnAllowed |
Succeeds if the barrel has respawn allowed. |
MoveTo |
Moves the |
MoveTo |
Moves the |
SetLaunchForceMultiplier |
Sets the multiplier applied to the force used when launching.This is clamped between |
SetRespawnDelay |
Sets the delay time to respawn the barrel, clamped between |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |