Skip to content

Set Move Route ​

Category: Flow

An event content that automatically walks the player (PC) or map objects along a specified route. Use it for any case where you need fine-grained control over character or object movement: an NPC approaching the player, party members moving in formation, auto-moving the PC during an event, or demo-style walking characters.

Specify multiple movement steps in one event content

This event content holds an internal command list, so a single event content can describe multi-step movement like "right, right, up, up, left" at once. Commands are executed one cell at a time in order, and the flow does not advance to the next event content until all steps are complete.

Property List ​

Item (tscn label)Input formatDescription
TargetSelectMovement target (PC / This Object / Other Object)
Ignore CollisionCheckboxIgnore collision only during route execution (walls can be passed through, map edges still enforced)
ObjectSelection dialogEnabled only when Target=Other Object; selects unique_id
CommandSelectCommand to add (one of four: up / down / left / right)
Add button—Adds the selected command to the list
CommandItemListListOrdered list of current commands
Delete / Move Up / Move Down buttons—Edit list items

Property Details ​

Target ​

Specifies the movement target.

OptionBehavior
PC (pc)Player character
This ObjectThe object that triggered this event (= event origin)
Other ObjectAn object specified by unique_id via the selection dialog

Use "This Object" when the event origin can be determined

A typical use case is "auto-move that NPC" inside an event where you talk to an NPC. In situations where the origin cannot be determined (the event was not triggered via an object, etc.), the command is silently skipped.

Ignore Collision ​

Specifies whether to ignore collision checks only during route execution.

  • OFF (default): Normal collision checks apply (walls, impassable tiles, and other objects are avoided)
  • ON: Collision is ignored only during route execution (walls can be passed through)

Use for pass-through staging

Use this for movement that ignores physical constraints, such as an NPC slipping through a wall, a ghost moving through a house, or warp-like staging. The target cannot leave the map edges (go off-screen), so you can use it without worrying about accidental off-screen moves.

Prevents the PC from stopping itself unexpectedly

For PC-targeted movement, the PC's own collision check (blocking entry into its own cell) is skipped, so the only reasons movement can be blocked are walls or other objects.

Object (only when Target=Other Object) ​

A selection dialog shown when Target is "Other Object".

  • Open the dialog with the Select button
  • All objects placed across every map are selectable
  • Display format: unique_id (object_name @ map_key, cell X, Y)
  • The object index is rebuilt right before the dialog opens, so objects that were just added in another tab are reflected (2026-09-16 fix)

Command ​

Select the type of command to add, then add it to the list via the Add button. You can choose from four commands:

CommandBehavior
move_upMove one cell up
move_downMove one cell down
move_leftMove one cell left
move_rightMove one cell right

There is no wait command

A wait command (waits for a specified duration) used to exist but was removed from this event content (2026-08-28). To stop midway, split this event content and insert a Wait between the halves.

CommandItemList ​

An ordered list of commands added via the Add button. At runtime, commands are executed one by one in list order.

  • Delete: Removes the selected item
  • Move Up / Move Down: Reorders the selected item

Runtime Behavior ​

When this event content runs, processing proceeds as follows:

1. Resolve the target node ​

Finds the movement target node according to Target:

  • PC: Gets the PC node (always exists)
  • This Object: Gets the originating object of the currently running event
    • If the origin cannot be determined: Does nothing and advances to the next event content (silent)
  • Other Object: Searches for the object with the specified unique_id
    • If not found (e.g., object on a different map): Does nothing and advances to the next event content (silent)

2. Execute commands sequentially ​

Executes commands one at a time from the top of the list.

Processing per command ​

  1. Change facing (only when Facing Fixed is OFF): Change facing to the movement direction
  2. Movement animation control (only when Walking Anime is ON): Play the animation
  3. Collision check: Confirm whether the move is possible
    • Possible: Move one cell smoothly with a Tween (wait for completion)
    • Not possible: Apply the step animation and skip that command (advance to the next command)

3. Does not advance until all commands finish (wait_until_finish=true fixed) ​

This event content always waits for all commands to complete before advancing to the next event content. This behavior cannot be changed from the editor.

4. Blocked commands are skipped (skip_if_blocked=true fixed) ​

If movement is blocked by walls, impassable tiles, or other objects, only that command is skipped and the next command runs. If every command is blocked, visually the character "only changes facing but does not move." This behavior cannot be changed from the editor either.

5. The step animation is applied once at the end of movement ​

When all commands finish, the step animation (step_anime) is applied once in the direction of the last executed command. The step animation is not applied for each command because consecutive movement would otherwise produce an awkward "0→1→0→1" playback (2026-08-28 bug fix).

6. Movement time is determined by system settings ​

The time per cell is determined by:

  • In 3D mode: dungeon_3d_settings.move_time (unified across all movers)
  • 2D mode PC: pc_move_time_normal (set on the system screen)
  • 2D mode object: event_object_move_time_default (set on the system screen)

7. The explored record is updated when targeting the PC ​

Each time the PC completes a move, the map's explored record (shown as explored cells on the minimap) is updated automatically. The explored record does not change when targeting an object.

Typical Flows ​

Flow 1: NPC approaches the player ​

An NPC standing 3 cells ahead calls out to the player and walks over:

  1. Show Text ← "I need to talk, come here."
  2. Set Move Route (this event content)
    • Target: This Object
    • Commands: down, down, down (the NPC moves 3 cells down)
  3. Show Text ← "Actually..."

Flow 2: Party members move in formation ​

An NPC follows behind the PC (staggered across separate event contents):

  1. Set Move Route (this event content) (Target: PC, Commands: right, right, right)
  2. Set Move Route (this event content) (Target: Other Object (NPC_1), Commands: right, right, right)
  3. Set Move Route (this event content) (Target: Other Object (NPC_2), Commands: right, right, right)

Flow 3: Automatic staircase ascent ​

Auto-move the PC toward the stairs, then switch via another event:

  1. Show Text ← "Let's go up."
  2. Set Move Route (this event content)
    • Target: PC
    • Commands: up, up
  3. Change Map (to the upper floor)

Flow 4: Ghost NPC appearing through walls ​

A ghost emerges inside a house by passing through walls:

  1. Show Image ← Ghost appearance effect
  2. Set Move Route (this event content)
    • Target: Other Object (ghost NPC)
    • Ignore Collision: ON ← Pass through walls
    • Commands: right, right, right, right (from behind the wall into the room)

Flow 5: Character stopping mid-walk to talk ​

Split Set Move Route and insert a Wait or text between (because this event content has no mid-route stop):

  1. Set Move Route (this event content) (Target: NPC, Commands: right, right, right)
  2. Show Text ← "...then I realized."
  3. Wait (Time 1.5)
  4. Set Move Route (this event content) (Target: NPC, Commands: right, right, right) ← continued movement

Flow 6: Complex route (L-shaped movement) ​

An NPC turns a corner while moving:

  1. Set Move Route (this event content)
    • Target: Other Object (NPC)
    • Commands:
      • down, down, down (3 cells down)
      • right, right (2 cells right)
      • down (one more cell down)

Flow 7: Force-move the PC (warp-like staging) ​

A pitfall effect:

  1. Show Text ← "Aaaah!"
  2. Shake Screen (strength 20, Pitch (moment))
  3. Set Move Route (this event content)
    • Target: PC
    • Ignore Collision: ON ← because moving below the floor
    • Commands: down, down, down, down
  4. Change Map (to the basement)

Flow 8: Sideways walk with fixed facing (move without changing facing) ​

An NPC moves sideways while facing forward:

  1. Change Object (Facing Fixed = ON)
  2. Set Move Route (this event content) (Target: NPC, Commands: right, right, right)
  3. Change Object (Facing Fixed = OFF, restore)

Typical Combinations ​

For the complete picture, see Combination Patterns.

Approaching NPC ​

NPC approaches before dialogue:

  1. Show Text ← "Hey!"
  2. Set Move Route (this event content) (NPC approaches)
  3. Show Text ← Main dialogue

Auto PC move + map switch ​

PC automatically climbs the stairs → switch:

  1. Set Move Route (this event content) (PC)
  2. Change Map

Multiple characters moving in sequence ​

Party chain movement:

  1. Set Move Route (this event content) (PC)
  2. Set Move Route (this event content) (NPC_1)
  3. Set Move Route (this event content) (NPC_2)

Split movement (dialogue or wait midway) ​

Because this event content has no mid-route stop, split event contents and insert something in between:

  1. Set Move Route (this event content) (first half)
  2. Show Text or Wait
  3. Set Move Route (this event content) (second half)

Pass-through staging (Ignore Collision) ​

Movement for ghosts or spiritual characters:

  1. Set Move Route (this event content) (Ignore Collision ON)
Related event contentUse
Change ObjectInstantly change the position of an object (this event content moves gradually)
Change MapInitial placement at map switch (this event content moves within a map)
WaitWait inserted when splitting this event content
Conditional BranchChange route based on conditions
Move to EventBranch processing after movement completes
PageRelated content
System Tab (Editor)pc_move_time_normal / event_object_move_time_default settings
Map Tab (Editor)Object placement and unique_id management
Event Content ListList of all event contents

Notes ​

Only four commands (MVP) ​

This event content only supports 4-directional movement. Wait commands and non-directional motions (jump, teleport, etc.) are not included. Combine with other event contents to achieve those.

Does not advance until all commands finish ​

This event content always waits for every command to complete before advancing (wait_until_finish=true fixed, cannot be changed from the editor). If you need to stop midway, split the event content at the desired stopping point.

Blocked commands are skipped ​

If movement is blocked by walls, impassable tiles, or other objects, only that command is skipped and the next command runs (skip_if_blocked=true fixed). If everything is skipped, visually only the facing changes.

Silent when the target object is not found ​

If the object specified by Target=Other does not exist on the current map, this event content does nothing and advances to the next event content. The game does not halt even in unintended situations.

Ignore Collision respects map edges ​

Even with Ignore Collision ON, the target cannot leave the map edges (go off-screen). The design prevents accidental off-screen moves during pass-through staging.

Movement time depends on system settings ​

The time per cell uses the values set in the System Tab individually for the PC / objects. This event content cannot override them individually.

Natural animation playback for consecutive movement ​

When executing multiple commands consecutively, the step animation is not applied mid-way; it is applied once only at the very end. This prevents the walking animation from being interrupted and keeps consecutive walking looking natural (2026-08-28 fix).

Interaction with Facing Fixed ​

If the object's Facing Fixed property is ON, movement via this event content does not change the facing. The target advances in its current facing regardless of movement direction.

Interaction with Walking Anime / Step Anime ​

  • walking_anime=true: Plays animation during movement
  • step_anime=true: Continues playing animation when stopped as well
  • Both false: Animation is always stopped (moves as a static image)

These can be changed dynamically via Change Object.

The explored record is updated when targeting the PC ​

Moving the PC via this event content records the cells it passes through as explored on the minimap. There is no effect on the explored record when targeting an object.

To stop midway, split the event content ​

Because this event content contains no wait command, if you want to stop midway, split the event content and insert Wait or text in between.