This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
assign_entity_id [2020/04/22 09:26] – justin | assign_entity_id [2020/04/23 11:50] – justin | ||
---|---|---|---|
Line 11: | Line 11: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
|entity|[[Entity]] that will be assigned the ID.|[[Entity]]|Yes| | |entity|[[Entity]] that will be assigned the ID.|[[Entity]]|Yes| | ||
- | |entity_id|ID the [[entity]] will be assigned.|[[String]]|Yes| | + | |entity_id|Unique |
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
- | Entity IDs are case-sensitive and must be unique among other entities within the same map . | + | Entity IDs are case-sensitive and must be unique among other [[entity|entities]] within the same [[map]]. |
</ | </ | ||
Line 21: | Line 21: | ||
assign_entity_id(tile[random(2, | assign_entity_id(tile[random(2, | ||
</ | </ | ||
- | // | + | // |
---- | ---- |