— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Moves the platform tile to the specified waypoint at its assigned movement speed.
move_platform(tile, waypoint_name)
Argument | Description | Type | Required |
---|---|---|---|
tile | Platform tile that will be moved. | Entity | Yes |
waypoint_name | Name of the destination waypoint. | String | Yes |
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