UnitId2StringBJ

Parameters
unitId integer
comment
patch

1.00

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
Source
Blizzard.j
wc3modding.com
UnitId2StringBJ