# Build selected units #By Vertu. GetSelectedUnits ->units if(GetListCount(<-units) gt0) do(GetListCount(<-units) 0) ConstructUnit(<-units[I] 10000) SetUnitAmmo(<-units[I] GetUnitMaxAmmo(<-units[I])) SetUnitHealth(<-units[I] GetUnitMaxHealth(<-units[I])) loop ClearTraceLog Trace3("Fully built " GetListCount(<-units) " selected units.") else if(GetUnitUpdateCount lt(2)) Trace("No units where selected for building.") else if(GetUnitUpdateCount 10 % eq0) ClearTraceLog if(<-count eq0) Trace("Operating. |") 1 ->count else if(<-count eq(1)) Trace("Operating. /") 2 ->count else if(<-count eq(2)) Trace("Operating. -") 3 ->count else Trace("Operating. \") 0 ->count endif endif endif endif endif endif :Destroyed if(GetUnitUpdateCount gt(5)) ClearTraceLog endif