User Tools

Site Tools


add_waypoint

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
add_waypoint [2020/07/23 17:32] – created justinadd_waypoint [2020/07/23 21:31] justin
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://purple slime will be added to the [[map|map]] on the [[tile|tile]] having ID "dungeon_door_01and will be assigned an ID of "slime_01".+//Results://new waypoint will be added to the [[tile]] with an ID of "raft". The waypoint will be named "east_river_bankand will be located at [[coordinate]] (7, 1, 0).
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
add_waypoint.txt · Last modified: 2023/04/28 16:40 by justin