LibUnits
Description
LibUnits is a library that gathers information about units.
The library supplies the following functions:
LibUnits.GetUnitByTag(unitTag)
- returns: table unit
LibUnits.GetUnitIdByTag(unitTag)
- returns: integer unitId
LibUnits.GetUnitsByName(unitName)
- variable returns: table unit
LibUnits.GetUnitIdsByName(unitName)
- variable returns: integer unitId
LibUnits.GetUnitsByRawName(unitName)
- variable returns: table unit
LibUnits.GetUnitIdsByRawName(unitName)
- variable returns: integer unitId
LibUnits.GetUnitById(unitId)
- returns: table unit
Solinur (PC, EU)