User Tools

Site Tools


add_waypoint

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
add_waypoint [2020/07/23 21:23]
justin
add_waypoint [2020/07/23 21:31] (current)
justin
Line 17: Line 17:
  
 <WRAP center round info 100%> <WRAP center round info 100%>
-The specified [[tile]] must have been previously configured as a [[platforms|moving ​platform]] either in the [[Map Editor]] or using the [[Create Platform]] function.+The specified [[tile]] must have been previously configured as a moving ​[[platforms|platform]] either in the [[Map Editor]] or using the [[Create Platform]] function.
 </​WRAP>​ </​WRAP>​
  
 ====Example:​==== ====Example:​====
 <code bauxite> <code bauxite>
-add_character(entity["​raft"​],​ "​east_river_bank",​ coord[7, 1, 0])+add_waypoint(entity["​raft"​],​ "​east_river_bank",​ coord[7, 1, 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.1595564598.txt.gz ยท Last modified: 2020/07/23 21:23 by justin