Used to spawn NPCs made with Character Definition asset.
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 |
|---|---|---|
EliminatedEvent |
listenable(payload) |
Signaled when a character is eliminated.
|
SpawnedEvent |
listenable(payload) |
Signaled when a character is spawned.
Sends the |
Functions
| Function Name | Description |
|---|---|
DespawnAll |
Despawns all characters. If set, |
Disable |
Disables this device. Characters will despawn if Despawn AIs When Disabled is set. |
Enable |
Enables this device. Characters will start to spawn. |
GetAgents |
Get all agents created by this device. |
GetTransform |
Returns the transform of the |
MoveTo |
Moves the |
MoveTo |
Moves the |
Reset |
Resets the spawn count allowing spawning of a new batch of characters. |
Spawn |
Tries to spawn a character. |
SpawnAt |
Spawn a NPC at the given position. When Rotation is not provided, it will default to the Device |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |