User Tools

Site Tools


move_player

This is an old revision of the document!


Move Player


Moves the player to the specified tile at their assigned movement speed. If a walkable path is not open then the player will remain at their current position. The player's movement must first be locked before using this function.

move_player(tile_id)
ArgumentDescriptionTypeRequired
tile_idID of the destination tile.StringYes

Lock/Unlock Player Movement must be called before using this function to prevent the player from interfering with the scripted movement.

Example:

move_player("bridge01")

Results:

Use the Move Player function to move the player character around the map during scripted segments or cutscenes.


Editor Node:

Visual Demo:

move_player.1493070165.txt.gz · Last modified: 2017/04/24 14:42 by justin