User Tools

Site Tools


Move Character

Moves the character to the specified tile at their assigned movement speed. If a walkable path is not open then the character will remain at their current position.


move_character(character, tile_id)
characterCharacter (player or NPC) that will be moved.EntityYes
tile_idID of the destination tile.StringYes

If you are moving the player character, Lock/Unlock Player Movement must be called first to prevent the player from interfering with the scripted movement. You can also use the more convenient Move Player function.


move_character(entity["Sarah"], "bridge01")

Results: The character with an ID of “Sarah” walks from her current location to the bridge tile with an ID of “bridge01”.

Use the Move Character function to move the player character or NPCs around the map during scripted segments or cutscenes

Editor Node:

Visual Demo:

move_character.txt · Last modified: 2018/03/16 09:46 by justin