Used to create plants with explosive pods that players can detonate and launch.
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 |
---|---|---|
ExplodeEvent |
listenable(payload) |
Triggers whenever the plant or launched projectile explodes.
|
GrowEvent |
listenable(payload) |
Triggers whenever the plant grows. |
LaunchEvent |
listenable(payload) |
Triggers whenever the plant launches a projectile.
|
Functions
Function Name | Description |
---|---|
Disable |
Disables the device to prevent interaction and growth. |
Enable |
Enables the device to allow interaction and let it grow. |
Explode |
Detonates the plant if the device is enabled. |
GetTransform |
Returns the transform of the |
Grow |
Grows the plant if the device is enabled. If Infinite Regrowths is |
MoveTo |
Moves the |
MoveTo |
Moves the |
SetInfiniteRegrowths |
Sets whether the plant can always regrow after launching a projectile or being destroyed. |
SetMaximumRegrowths |
Sets how many times the plant can regrow after launching a projectile or being destroyed.
|
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |