User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
add_waypoint [2020/07/23 17:32]
justin created
add_waypoint [2020/07/23 21:31] (current)
Line 17: Line 17:
 <WRAP center round info 100%> <WRAP center round info 100%>
-The [[remove_entity|Remove Entity]] function can be triggered later to remove ​a [[character|character]] that was previously added to the scene with the Add Character ​function.+The specified ​[[tile]] must have been previously configured as moving ​[[platforms|platform]] either in the [[Map Editor]] or using the [[Create Platform]] ​function.
 </​WRAP>​ </​WRAP>​
 ====Example:​==== ====Example:​====
 <code bauxite> <code bauxite>
-add_character(tile[0, 0, 0], "waypoint_01", coord[00, 0])+add_waypoint(entity["​raft"​], "east_river_bank", coord[71, 0])
 </​code>​ </​code>​
-//​Results://​ A purple slime will be added to the [[map|map]] on the [[tile|tile]] ​having ​ID "dungeon_door_01" ​and will be assigned an ID of "slime_01".+//​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).
 <WRAP center round tip 100%> <WRAP center round tip 100%>
add_waypoint.1595550730.txt.gz ยท Last modified: 2020/07/23 17:32 by justin