Skip to content

NPC Events

NPC events let you bring characters to life. You can spawn NPCs, set their animations, move them along paths, patrol areas, or chase the player and trigger follow-up events.

Common Uses

  • Introductions where an NPC walks in and speaks
  • Guards that patrol a route and block doors
  • Enemies that chase the player and trigger a failure or cutscene on contact
  • Shopkeepers that stand in place with an idle animation
  • Scene where multiple NPCs move and talk in order

NPC Events

EventDescription
Spawn NPCPlaces a character in the current map. Useful for introducing characters or adding them dynamically during a scene.
Set NPC AnimationChanges the current animation of an NPC, such as idle, walk, or a special state. Great for making scenes feel alive.
Move NPCMoves a character along a defined path of points on the map. Best for one-time movements like walking across a room.
NPC PatrolLoops a path continuously for roaming NPCs like guards. Runs until stopped or replaced by another event.
NPC ChaseMakes an NPC pursue the player until contact, then runs a follow-up event sequence. Used for stealth, encounters, or fail states.

Paths and Editing

Paths are defined by points on the map. You can add, move, or delete points to adjust routes. Keep paths simple at first, then refine the timing and spacing to match the scene.