Used to spawn guards that can patrol and attack other agent
s.
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 a guard has identified an opponent.
|
DamagedEvent |
listenable(payload) |
Signaled when guard is damaged.
|
DismissedEvent |
listenable(payload) |
Signaled when a guard is dismissed by a player.
|
EliminatedEvent |
listenable(payload) |
Signaled when a guard is eliminated.
|
EliminatingEvent |
listenable(payload) |
Signaled when a guard eliminates an agent.
|
HiredEvent |
listenable(payload) |
Signaled when a guard is hired by a player.
|
SpawnedEvent |
listenable(payload) |
Signaled when a guard is spawned.
Sends the |
SuspiciousEvent |
listenable(payload) |
Signaled when a guard becomes suspicious.
Sends the |
TargetLostEvent |
listenable(payload) |
Signaled when a guard has lost track of a target.
|
UnawareEvent |
listenable(payload) |
Signaled when a guard becomes unaware.
Sends the |
Functions
Function Name | Description |
---|---|
Despawn |
Despawns guards. |
Despawn |
Despawns guards. |
Disable |
Disables this device. Guards will despawn if Despawn Guards When Disabled is set. |
DismissAgentHiredGuards |
Dismisses all hired guards that were recruited by |
DismissAllHiredGuards |
Dismisses all hired guards. |
Enable |
Enables this device. Guards will start to spawn. |
ForceAttackTarget |
Forces guards to attack |
GetSpawnLimit |
Returns the spawn limit of the device. |
GetTransform |
Returns the transform of the |
Hire |
Hires guards to |
MoveTo |
Moves the |
MoveTo |
Moves the |
Reset |
Resets the spawn count allowing spawning of a new batch of guards. |
SetGuardsHireable |
Allows guards to be hired. |
SetGuardsNotHireable |
Prevents guards from being hired. |
Spawn |
Tries to spawn a guard. |
Spawn |
Tries to spawn a guard. If Auto Hire When Spawned is set to Triggering Player the guard will be hired by |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |