Selector
The selector selector can select multiple units in a certain area by specifying the shape and the corresponding selection rule.
Functions
get_units_in_circular_area
Parameters
Variable | Type | Description |
---|---|---|
center | point | Center point. |
range | number | Radius. |
extra_data | table | Optional parameter. |
selector.get_units_in_circular_area(center, range, extra_data)
get_projectiles_in_circular_area
Parameters
Variable | Type | Description |
---|---|---|
center | point | Center point. |
range | number | Radius. |
extra_data | table | Optional parameter. |
selector.get_projectiles_in_circular_area(center, range, extra_data)