Generates an AI bot that spawns in a location and usually attacks players when they come in range.
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 |
---|---|---|
AlertedEvent |
listenable(payload) |
Signaled when the sentry is alerted to an |
AttackingEvent |
listenable(payload) |
Signaled when a sentry attacks an |
EliminatedEvent |
listenable(payload) |
Signaled when a sentry is eliminated.
Sends the |
EliminatingACreatureEvent |
listenable(payload) |
Signaled when the sentry eliminates a creature. |
EliminatingAgentEvent |
listenable(payload) |
Signaled when a sentry eliminates an |
EntersAlertCooldownEvent |
listenable(payload) |
Signaled when the sentry enters the alert state. |
ExitsAlertEvent |
listenable(payload) |
Signaled when the sentry exists the alert state. |
Functions
Function Name | Description |
---|---|
DestroySentry |
Destroys the current sentry. |
Disable |
Disables this device. |
Enable |
Enables this device. |
EnableAlert |
Puts the sentry into the alert state. |
GetTransform |
Returns the transform of the |
JoinTeam |
Sets the sentry to the same team |
MoveTo |
Moves the |
MoveTo |
Moves the |
Pacify |
Puts the sentry into the pacify state, preventing from entering the alert (attacking) state. |
ResetAlertCooldown |
Resets the alert state. |
ResetTeam |
Resets the sentry to the original team designated in the device options. |
Spawn |
Spawns the sentry. |
Target |
Sets the sentry to target |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |