Verse API reference page for the healing_cactus_device class
Use to create a cactus with healing fruits that can be burst to heal nearby players.
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 |
|---|---|---|
BurstEvent |
listenable(payload) |
Triggers when the plant bursts, passing in the triggering agent. |
GrowEvent |
listenable(payload) |
Triggers when the plant grows. |
Functions
| Function Name | Description |
|---|---|
Burst |
Burst the plant if the device is enabled, passing in the triggering agent. If there is no triggering agent, players will only be healed if Heal Targets is set to Everyone. |
Burst |
Burst the plant if the device is enabled, passing in the triggering agent. If there is no triggering agent, players will only be healed if Heal Targets is set to Everyone. |
Disable |
Disables the device to prevent interaction and growth. |
Enable |
Enables the device to allow interaction and let it grow. |
GetTransform |
Returns the transform of the creative_object with units in cm. You must check creative_object.IsValid before calling this if there is a possibility the object has been disposed or destroyed by gameplay. Otherwise a runtime error will result. |
Grow |
Grows the plant if the device is enabled. If Infinite Regrowths is false, this is limited by Maximum Regrowths. If someone is too close, the plant won't grow until they move away. |
MoveTo |
Moves the creative_object to the specified Position and Rotation over the specified time, in seconds. If an animation is currently playing on the creative_object it will be stopped and put into the AnimationNotSet state. |
MoveTo |
Moves the creative_object to the specified Transform over the specified time, in seconds. If an animation is currently playing on the creative_object it will be stopped and put into the AnimationNotSet state. |
TeleportTo |
Teleports the creative_object to the specified Position and Rotation. |
TeleportTo |
Teleports the creative_object to the specified location defined by Transform, also applies rotation and scale accordingly. |