UnitId2StringBJ
- Parameters
-
unitId integer
- comment
- patch
-
1.00
- Source
- Blizzard.j (suggest an edit or discuss on Github)
- return type
-
string
- Source code
-
function UnitId2StringBJ takes integer unitId returns string local string unitString = UnitId2String(unitId) if (unitString != null) then return unitString endif // The unitId was not recognized - return an empty string. return "" endfunction