No. Jass can't take it as integer either, since ability ID is not made out of numbers only, and if you try to convert it to any other type you'll phail aswell. That's what happened to my try atleast.
function A2I takes integer abilityid returns integer
return abilityid
endfunction
//
local int abil = A2I('A000')
// that, however, would be really useless as you could just as easily do:
local int abil = 'A000'
Actually you can convert abilityid to integer, like the way Eleandor suggests. I have done this quite a lot of times and it does work flawlessly.serbianbeast said:since ability ID is not made out of numbers only, and if you try to convert it to any other type you'll phail aswell.