This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
add_character [2018/03/16 09:35] – justin | add_character [2020/04/22 14:10] – justin | ||
---|---|---|---|
Line 6: | Line 6: | ||
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | add_character(model_name, | + | add_character(model_name, |
</ | </ | ||
^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 |
|entity_id|Unique entity ID that will be assigned.|[[String]]|No| | |entity_id|Unique entity ID that will be assigned.|[[String]]|No| | ||
Line 19: | Line 19: | ||
====Example: | ====Example: | ||
- | < | + | < |
add_character(" | add_character(" | ||
</ | </ |