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 Remove Entity function can be triggered later to remove a character that was previously added to the scene with the Add Character function.

Example:

add_character(tile[0, 0, 0], "waypoint_01", coord[0, 0, 0])

Results: A purple slime will be added to the map on the tile having ID “dungeon_door_01” and will be assigned an ID of “slime_01”.

Use the Add Waypoint function to…


Editor Node:

add_waypoint.1595550730.txt.gz · Last modified: 2020/07/23 17:32 by justin