User Tools

Site Tools



Add Waypoint

Adds a waypoint to the specified platform tile.


add_waypoint(tile, waypoint_name, waypoint_coordinate)
tile EntityYes
waypoint_name StringYes
waypoint_coordinate CoordinateYes

The specified tile must have been previously configured as a moving platform either in the Map Editor or using the Create Platform function.


add_waypoint(entity["raft"], "east_river_bank", coord[7, 1, 0]);

Results: A new waypoint will be added to the tile with an ID of “raft”. The waypoint will be named “east_river_bank” and will be located at coordinate (7, 1, 0).

Use the Add Waypoint function to…

Editor Node:

add_waypoint.txt · Last modified: 2021/04/21 18:57 by justin