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·35 of 123 in NPCs & AI

NPC Behavior Class

Inherit from this to create a custom NPC behavior. The npc_behavior can be defined for a character in a CharacterDefinition asset, or in a npc_spawner_device.

Verse using statement using { /Fortnite.com/AI }

Members

This class has functions, but no data members.

Functions

Function Name Description
OnBegin This function is called when the NPC is added to the simulation.
OnEnd This function is called when the NPC is removed from the simulation.
GetAgent Returns the agent associated with this behavior.
GetEntity Returns the entity associated with this behavior.
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 · 35 of 123
Prev
npc awareness component
Next
getagent
Browse all files in this folder (A–Z)

Source

Epic Games documentation

View original

Last updated 2026-05-14T11:49:01.036269+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