User Tools

Site Tools


add_character

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
add_character [2021/04/21 18:56] justinadd_character [2021/04/21 18:57] justin
Line 6: Line 6:
 ====Signature:==== ====Signature:====
 <code python> <code python>
-add_character(model_name, tile, entity_id);+add_character(model_name, tile, entity_id)
 </code> </code>
  
Line 20: Line 20:
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-add_character("purple_slime", "dungeon_door_01", "slime_01")+add_character("purple_slime", "dungeon_door_01", "slime_01");
 </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 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".
add_character.txt · Last modified: 2023/01/02 21:15 by justin