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 · 144 of 147 in NPCs & AI
Browse Fortnite

Creating NPC Behavior in UEFN

The character in this example uses a Custom type character definition, since they only need to move around, and don't need access to the guard or wildlife API. The character's behavior is driven by a custom Verse Behavior named verse_commander_character.

Guards are non-playable characters (NPCs) that can move along designated paths and can become hostile to attack enemy players. Wildlife are animals, like chicken and boar, that can also move along designated paths and attack enemy players.

To get started creating the custom NPC, create a new NPC Behavior named vese_commander_character using Verse Explorer. For info on creating your own custom NPC behaviors, see Create Custom NPC Behavior.

The character needs to know and manage the following properties:

  • CommandWaitTime: How long to wait between each command.
  • FocusTime: How long to force focus on a target. Turning the character left or right is handled by using the character's focus_interface to force them to face a particular point to their left or right. Since focusing on a target doesn't complete unless interrupted, this is set to a very low number, just enough time for the character to turn to face a direction.
  • ReachRadius: This is how close the character needs to get to their navigation target to consider having “reached” it.
  • VerseCommanderMinigame: This is a reference to the VerseCommanderMinigame in the level, and lets the character listen for commands coming from it.
  • VFX and Arrow References: These reference the different teleport in/teleport out VFX, as well as the Forward Arrow prop which makes it easier to see the character's orientation.

You're reading a preview

The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.

Sign in with Discord — free for members Read the original at Epic Games

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

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 May 12, 2026
    Keep exploring
    More in NPCs & AI · 144 of 147
    Prev
    battleroyale
    Next
    verse starter 05 controlling the npc with ui in unreal editor for fortnite
    Browse all files in this folder (A–Z)
    Next up
    • The character in this example uses a [Custom
    • Create Custom Npc Behavior In Unreal Editor For Fortnite
    • Processing Commands
    • Copy full snippet(6 lines long)
    • Next Step
    • 2. Defining Boards for the Game
    Related topics
    • Verse Starter 01 Creating The Npc Behavior In Unreal Editor For Fortnite Npcs & Ai
    • Verse Starter Template 1 Creating Npc Behavior In Unreal Editor For Fortnite Npcs & Ai
    • Learn Programming With Verse In Unreal Editor For Fortnite Verse Language
    • Programming With Verse In Unreal Editor For Fortnite Verse Language
    • Learn Programming With Verse In Unreal Editor For Fortnite Verse Language

    Related

    Open in graph →

    Linked docs

    • Create Custom Npc Behavior In Unreal Editor For Fortnite

    Related topics

    • Verse Starter 01 Creating The Npc Behavior In Unreal Editor For Fortnite
    • Verse Starter Template 1 Creating Npc Behavior In Unreal Editor For Fortnite
    • Learn Programming With Verse In Unreal Editor For Fortnite
    • Programming With Verse In Unreal Editor For Fortnite
    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