Code:
function I2U takes integer i returns unit
return i
call DoNothing()
return null
endfunction
"i" is a stored integer from gamecache, stored as integer from GetHandleId(h)
The function I2U doesn't seem to work in 1.24, yes it compiles fine thanks to "call DoNothing()" but you can no longer retrieve the unit handle from "return i", I2Timer, I2Effect or I2AnyGameObject don't work in 1.24 too.
I know there are new hash table methods implemented in 1.24 to store game object handles, but it would be too much work to do a total conversion, I wonder if there is a way to make a 1.24 compatible I2U or I2Anything without switching to hashtable.
Thanks.