User Tools

Site Tools


add_object

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
add_object [2020/06/07 17:24] justinadd_object [2021/04/21 18:57] justin
Line 15: Line 15:
  
 <WRAP center round info 100%> <WRAP center round info 100%>
-The [[Remove Entity]] function can be triggered later to remove an [[object|object]] that was previously added to the scene with the Add Object function.+The [[remove_entity|Remove Entity]] function can be triggered later to remove an [[object|object]] that was previously added to the scene with the Add Object function.
 </WRAP> </WRAP>
  
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-add_object("tree_small", "target_tile", "new_tree")+add_object("tree_small", "target_tile", "new_tree");
 </code> </code>
 //Results:// A small tree will be added to the [[map|map]] on the [[tile|tile]] having ID "target_tile" and will be assigned an ID of "new_tree". //Results:// A small tree will be added to the [[map|map]] on the [[tile|tile]] having ID "target_tile" and will be assigned an ID of "new_tree".
add_object.txt · Last modified: 2023/01/02 21:15 by justin