VerseIsland
Feed Learn Leaderboard Guides Reference Explore Search Docs Verse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Fortnite › NPCs & AI · Up to Fortnite · NPCs & AI · 61 of 147 in NPCs & AI
Browse Fortnite

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.

Comments

    Sign in to vote, comment, or suggest an edit. Sign in
    📄
    Source
    Epic Games

    © Epic Games. Official Epic developer documentation, shown here as a reference with a link to the original. All rights remain with Epic Games. Terms ↗

    View original Sources & licensing
    Request removal
    Last updated Feb 10, 2026
    Keep exploring
    More in NPCs & AI · 61 of 147
    Prev
    npc awareness component
    Next
    getagent
    Browse all files in this folder (A–Z)
    Next up
    • | [`OnBegin`
    • | [`OnEnd`
    • | [`GetAgent`
    • | [`GetEntity`
    Related topics
    • Npc Behavior Npcs & Ai
    • Npc Behavior Npcs & Ai
    • Npc Actions Component Npcs & Ai
    • Npc Actions Component Npcs & Ai
    • Npc Character Definition Npcs & Ai

    Related

    Open in graph →

    Related topics

    • Npc Behavior
    • Npc Behavior
    • Npc Actions Component
    • Npc Actions Component
    • Npc Character Definition
    VerseIsland · an archipelago of Verse & UEFN knowledge
    🗺️ Island atlas Learn Guides History About & Press Sources & Licensing Status

    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