This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
array [2020/01/17 20:55] – justin | array [2020/02/16 19:04] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | 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 " | + | 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 " |
====Examples: | ====Examples: | ||
- | < | + | < |
group[" | group[" | ||
</ | </ | ||
List of all entities in the current [[map]] that belong to the [[groups|group]] named " | List of all entities in the current [[map]] that belong to the [[groups|group]] named " | ||
- | < | + | < |
entity[" | entity[" | ||
</ | </ | ||
List of all [[groups|group]] names to which the entity belongs, as assigned in the [[Map Editor]]. The values in this kind of array are of data type [[String]]. | List of all [[groups|group]] names to which the entity belongs, as assigned in the [[Map Editor]]. The values in this kind of array are of data type [[String]]. | ||
- | < | + | < |
entity[" | entity[" | ||
</ | </ |