⇐ Index
GetUnitsByType(<-unitType <-builtState) ->units
Returns a list of units of the specified unitType1) and builtState, ordered2) from lowest to highest UID.
builtState is an int (either 0,1,2). 0 = ignore built state. 1 = Only find units that are built. 2 = Only find units that are not built.
GetUnitsByType("Tower" 1) ->units
⇐ Index