— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
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)
Argument | Description | Type | Required |
---|---|---|---|
character | Character (player or NPC) that will be moved. | Entity | Yes |
tile_id | ID of the destination tile. | String | Yes |
If you are moving the player character, you can also use the more convenient Move Player function to achieve the same results.
move_character(entity["Sarah"], "bridge01")
Results:
Use the Move Character function to move the player character or NPCs around the map during scripted cutscenes.