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
Next revisionBoth sides next revision
add_character [2018/03/16 09:35] justinadd_character [2019/09/04 16:25] – external edit 127.0.0.1
Line 6: Line 6:
 ====Signature:==== ====Signature:====
 <code python> <code python>
-add_character(model_name, tile_id, entity_id)+add_character(model_name, tile, entity_id)
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
 |model_name|Model to use for the new character.|[[String]]|Yes| |model_name|Model to use for the new character.|[[String]]|Yes|
-|tile_id|ID of the tile where the character will be placed.|[[String]]|Yes|+|tile|ID or coordinate of the tile where the character will be placed.|[[String]] or [[Coordinate]]|Yes|
 |entity_id|Unique entity ID that will be assigned.|[[String]]|No| |entity_id|Unique entity ID that will be assigned.|[[String]]|No|
  
add_character.txt · Last modified: 2023/01/02 21:15 by justin