A Destroyable environment prop that when destroyed, drops loot. When players approach the Spire Spike, they start a countdown to a knockback ability. When players are knocked back, they do not receive damage from the knockback ability or take fall damage. They can destroy structures near the knockback location. Damaging the spike can also start the countdown to the knockback or restart the countdown if it is already started.
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 |
|---|---|---|
AdditionalVerticalKnockback |
?float |
Additive vertical force on the knockback ability. Clamped between |
CanGrantItems |
?logic |
Determine if the Spire Spike should drop loot when destroyed or not. |
CurrentHealth |
?float |
The current health of the Spire Spike. Setting to |
DestroyEvent |
listenable(payload) |
Triggers when the Spire Spike is destroyed.
Includes the |
HorizontalKnockbackMultiplier |
?float |
Horizontal force on the knockback ability. Clamped between |
IsInvulnerable |
?logic |
Determines if the Spire Spike can take any damage. |
KnockbackChargeTimer |
?float |
The remaining time (in seconds) on the knockback charge timer. Clamped between
|
KnockbackChargeTimerLength |
?float |
The length of the knockback charge timer in seconds, regardless of the timer's current state. Clamped between |
KnockbackEvent |
listenable(payload) |
Triggers when the Spire Spike does its knockback ability. |
KnockbackTriggerRange |
?float |
The range (in meters) a player needs to be within to trigger the proximity countdown. This is also the range of the knockback abilities affected targets. Clamped between |
MaxHealth |
?float |
The max health of the Spire Spike. Must be greater than or equal to |
ShouldChargeKnockbackOnPlayerProximity |
?logic |
Determines if the knockback ability should charge once a player has entered the trigger range. |
ShouldKnockbackChargeFromTakingDamage |
?logic |
Determines if taking damage should start the knockback charge timer. If the timer was already active and this is true, taking damage will restart the timer. |
ShouldKnockbackDestroyStructures |
?logic |
Determines if structures should be destroyed if a player is knocked back into them. |
VerticalKnockbackMultiplier |
?float |
Vertical force on the knockback ability. Clamped between |
Functions
| Function Name | Description |
|---|---|
ChargeKnockback |
Force begins the knockback charge timer. Will restart the charge timer if already active. |
Despawn |
Despawns the Spire Spike. It will not drop loot. |
Destroy |
Destroy the Spire Spike. Will cause the Spire Spike to drop its loot. |
GetTransform |
Returns the transform of the |
IsSpawned |
Returns if Spire Spike is currently spawned. |
Knockback |
Force the Spire Spike to trigger its knockback ability immediately. |
MoveTo |
Moves the |
MoveTo |
Moves the |
Spawn |
Spawn the Spire Spike. Resets CurrentHealth back to max health. Resets any timers currently active. |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |