Used to create a customizable turret that can search for nearby targets.
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. |
Exposed Interfaces
This class exposes the following interfaces:
Name | Description |
---|---|
healthful |
Implemented by Fortnite objects that have health state and can be eliminated. |
healable |
Implemented by Fortnite objects that can be healed. |
Members
This class has both data members and functions.
Data
Data Member Name | Type | Description |
---|---|---|
ActivatedEvent |
listenable(payload) |
Triggers when someone enters the activation radius while nobody else is there.
Sends the activating |
DamagedEvent |
listenable(payload) |
Triggers when the turret is damaged.
Sends the triggering |
DestroyedEvent |
listenable(payload) |
Triggers when the turret is destroyed.
Sends the triggering |
TargetFoundEvent |
listenable(payload) |
Triggers when the turret finds a target.
Sends the |
TargetLostEvent |
listenable(payload) |
Triggers when the turret loses a target.
Sends the |
Functions
Function Name | Description |
---|---|
ClearTarget |
Clears the turret's current target and returns the turret to searching for targets.
|
Disable |
Disables the turret, causing it to close and ignore its activation radius. |
Enable |
Enables the turret to rotate, target, and track. |
GetHealth |
|
GetMaxHealth |
|
GetTarget |
Returns the |
GetTransform |
Returns the transform of the |
Heal |
|
Heal |
|
HealedEvent |
|
MoveTo |
Moves the |
MoveTo |
Moves the |
SetActivationRange |
Sets the range in meters at which the turret will activate to |
SetDamage |
Sets the amount of damage the turret will do per shot to targets to |
SetHealth |
|
SetMaxHealth |
|
SetTarget |
Set the supplied
|
SetTargetRange |
Sets the range in meters at which the turret will target to |
SetTeam |
Set the turret to the same team as the supplied
|
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |
UseDefaultTeam |
Set the turret to the Default Team.
|
UseTeamWildlifeAndCreatures |
Set the turret to the Wildlife & Creatures team.
|