User Tools

Site Tools


assign_entity_id

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
assign_entity_id [2020/04/22 09:26] justinassign_entity_id [2020/04/22 09:47] justin
Line 14: Line 14:
  
 <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]].
 </WRAP> </WRAP>
  
Line 21: Line 21:
 assign_entity_id(tile[random(2, 5), 0, 0], "trap_tile") assign_entity_id(tile[random(2, 5), 0, 0], "trap_tile")
 </code> </code>
-//Results:// Assigns an ID of "trap_tile" to a random tile along coordinates (2, 0, 0) and (5, 0, 0).+//Results:// Assigns an ID of "trap_tile" to a random [[tile]] along [[coordinate|coordinates]] (2, 0, 0) through (5, 0, 0).
  
 ---- ----
assign_entity_id.txt · Last modified: 2023/01/02 21:26 by justin