VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse Verse API›NPCs & AI·Up to Verse API · NPCs & AI·92 of 123 in NPCs & AI

NPC Spawner Device Class

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. Source is the agent that eliminated the character. If the character was eliminated by a non-agent then Source is 'false'. Target is the character that was eliminated.
SpawnedEvent listenable(payload) Signaled when a character is spawned. Sends the agent character who was spawned.

Functions

Function Name Description
DespawnAll Despawns all characters. If set, Instigator will be considered as the eliminator of those characters.
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.
GetGlobalTransform Gets the global transform of this object.
GetTransform Returns the transform of the creative_object with units in cm. You must check creative_object.IsValid before calling this if there is a possibility the object has been disposed or destroyed by gameplay. Otherwise a runtime error will result.
MoveTo Moves the creative_object to the specified Position and Rotation over the specified time, in seconds. If an animation is currently playing on the creative_object it will be stopped and put into the AnimationNotSet state.
MoveTo Moves the creative_object to the specified Transform over the specified time, in seconds. If an animation is currently playing on the creative_object it will be stopped and put into the AnimationNotSet state.
MoveTo Moves the creative_device to the specified Transform over the specified time, in seconds. If an animation is currently playing on the creative_device it will be stopped and put into the AnimationNotSet state.
Reset Resets the spawn count allowing spawning of a new batch of characters.
SetGlobalTransform Sets the global transform of this object.
SetNPCCharacterDefinition Set the NPC character definition to use. Fails if the character type is different from one in the current definition.
Spawn Tries to spawn a character.
SpawnAt Spawn a NPC at the given position. When Rotation is not provided, it will default to the Devices rotation. Returns the agent spawned or false if the device has reached its maximum spawn count. This function is ` because it takes time to load the NPC before it can be returned.
TeleportTo Teleports the creative_object to the specified Position and Rotation.
TeleportTo Teleports the creative_object to the specified location defined by Transform, also applies rotation and scale accordingly.
TeleportTo Teleports the creative_device to the specified location defined by Transform, also applies rotation and scale accordingly.
Guided course

Add this to your free study plan — we’ll suggest related material and stitch it into one compile-checked lesson.

Keep exploring
More in NPCs & AI · 92 of 123
Prev
guard spawner visibility range restriction
Next
reboot progress decay behavior
Browse all files in this folder (A–Z)

Source

Epic Games documentation

View original

Last updated 2026-06-28T12:54:08.785501+00:00

VerseIsland· an archipelago of Verse & UEFN knowledge
🗺️ Island atlasLearnGuidesHistoryAbout & PressSources & LicensingPrivacy PolicyTermsStatus

Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.

🦜

Scout · your island guide

The Isle of Verse