— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
Assigns an ID to the specified entity. An empty string value can be specified for the ID in order to remove the entity's ID.
assign_entity_id(entity, entity_id)
assign_entity_id(tile[random(2, 5), 0, 0], "trap_tile")
Results: Assigns an ID of “trap_tile” to a random tile along coordinates (2, 0, 0) through (5, 0, 0).