— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
An array is a scripting data type consisting of a collection or list of values. You can iterate through the values in an array using a “For” loop, or check if an array contains a certain value using the “contains” operator in a conditional expression.
group["room_01"]
List of all entities in the current map that belong to the group named “room_01”. The values in this type of array are entities.
entity["xyz"].groups
List of all group names to which the entity belongs, as assigned in the Map Editor. The values in this type of array are strings.
entity["xyz"].tags
List of all tags for the entity's model, as assigned in the Voxel Editor. The values in this type of array are strings.