This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
assign_entity_id [2020/04/23 11:50] – justin | assign_entity_id [2023/01/02 21:26] – justin | ||
---|---|---|---|
Line 12: | Line 12: | ||
|entity|[[Entity]] that will be assigned the ID.|[[Entity]]|Yes| | |entity|[[Entity]] that will be assigned the ID.|[[Entity]]|Yes| | ||
|entity_id|Unique ID that the [[entity]] will be assigned.|[[String]]|Yes| | |entity_id|Unique ID that the [[entity]] will be assigned.|[[String]]|Yes| | ||
+ | |||
+ | ^Return Value^Description^Type^ | ||
+ | |Result|Return true if the ID was successfully assigned to the [[entity]], false otherwise.|[[Boolean]]| | ||
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
Line 19: | Line 22: | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | assign_entity_id(tile[random(2, | + | assign_entity_id(tile[random(2, |
</ | </ | ||
// | // |