This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
add_object [2020/06/07 17:26] – justin | add_object [2023/01/02 21:15] (current) – justin | ||
---|---|---|---|
Line 13: | Line 13: | ||
|tile|ID or [[coordinate|coordinate]] of the [[tile|tile]] where the [[object|object]] will be placed.|[[string|String]], | |tile|ID or [[coordinate|coordinate]] of the [[tile|tile]] where the [[object|object]] will be placed.|[[string|String]], | ||
|entity_id|Unique [[entity|entity]] ID that will be assigned.|[[string|String]]|No| | |entity_id|Unique [[entity|entity]] ID that will be assigned.|[[string|String]]|No| | ||
+ | |||
+ | ^Return Value^Description^Type^ | ||
+ | |Object Added|Returns a reference to the [[object]] that was added.|[[Entity]]| | ||
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
Line 20: | Line 23: | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | add_object(" | + | add_object(" |
</ | </ | ||
// | // |