Nitro Barrel (Device)

The is a Device in Fortnite: Creative, added in Update v30.10.
<tabber>
|-|Settings=
==All Settings==
All default values have been Bolded.
Option 	Value 	Description
Start Enabled 	On, Off 	Determines whether this barrel is enabled and visible when the game starts.
Launch Force Multiplier	1.0, 0.25 - 2.0 	Determines the multiplier applied to the force used to launched the barrel.
Should Respawn 	On, Off 	Determine whether the device should respawn the barrel after it explodes during game.
Respawn Delay 	Instant, 0.1 Seconds - 1,000 Seconds	Determines how long it will take to respawn the barrel.
|-|Functions and Events=
==Functions and Events==
Option 	Description
Enable Device When Receiving From 	Enables and shows the barrel.
Disable Device When Receiving From 	Disables the and hides the barrel.
Disallow Barrel Respawn When Receiving From	Prevent the barrel from respawning. The RespawnDelay countdown will not start. If the countdown has already started, the barrel will not respawn when it ends.
Allow Barrel Respawn When Receiving From 	Allow the barrel to respawn after a RespawnDelay when it explodes.
Option 	Description
On Barrel Exploded Send Event To	Triggers when the barrel gets exploded.
On Barrel Launched Send Event To	Triggers when the barrel gets launched.
|-|Verse API=
This device can be found in Content Browser in the following path: /All/Fortnite/Devices/Environment/Hazard
==nitro_barrel_spawner_device class==
using { /Fortnite.com/Devices }
Option 	Description
creative_object 	Base class for creative devices and props.
creative_device_base	Base class for creative_device.
Option 	Type
LaunchedEvent	listenable(?agent)
ExplodedEvent	listenable(?agent)
{| class="article-table"
|+
!Option!!Parameters!!Description
|-
|Enable
|
|Enables and shows the barrel. Enabling the device when it's disabled will spawn a new barrel.
|-
|Disable
|
|Disables and hides the barrel. Disabling the device will remove an existing barrel and reset the respawn delay.
|-
|IsEnabled
|
|Succeeds if the barrel is enabled and visible.
|-
|SetLaunchForceMultiplier
|LaunchForceMultiplier:float
|Sets the multiplier applied to the force used when launching. This is clamped between 0.25 and 2.0.
|-
|GetLaunchForceMultiplier
|
|Returns the force multiplier to launch the barrel. (returns float</code>)
|-
|AllowRespawn
|
|Allows the barrel to respawn after it explodes, waiting RespawnDelay seconds.
|-
|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.
|-
|IsRespawnAllowed
|
|Succeeds if the barrel has respawn allowed.
|-
|SetRespawnDelay
|RespawnDelay:float
|Sets the delay time to respawn the barrel, clamped between 0.0 and 1000.0 seconds. This will override the delay timer if set during the delay countdown.
|-
|GetRespawnDelay
|
|Returns the delay between exploding and respawning (if allowed), in seconds. (returns float</code>)
|-
</tabber>
Category:Devices
Category:UEFN
Category:Creative
Category:Verse API