User Tools

Site Tools


add_waypoint

This is an old revision of the document!


(WIP)

Add Waypoint


Adds a waypoint to the specified platform tile.

Signature:

add_waypoint(tile, waypoint_name, waypoint_coordinate)
ArgumentDescriptionTypeRequired
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.

Example:

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

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

Use the Add Waypoint function to…


Editor Node:

add_waypoint.1595564918.txt.gz · Last modified: 2020/07/23 21:28 by justin