I did not know where to put or ask this...
It is the return bug except I know the best way to fix it is hashtables but that seems to be more of a pain doing it that way...
Just need to fix this return bug... Thank you to anyone that replies to this over asked question.
It is the return bug except I know the best way to fix it is hashtables but that seems to be more of a pain doing it that way...
JASS:
function fs_I2U takes integer i returns unit
return i
return null
endfunction
function fs_I2T takes integer i returns trigger
return i
return null
endfunction
function fs_I2TT takes integer i returns texttag
return i
return null
endfunction
function fs_I2It takes integer i returns item
return i
return null
endfunction
function fs_I2D takes integer i returns destructable
return i
return null
endfunction
function fs_I2FM takes integer i returns fogmodifier
return i
return null
endfunction
function fs_I2B takes integer i returns boolean
return (i != 0)
endfunction
function fs_B2I takes boolean i returns integer
if (i) then
return 1
endif
return 0
endfunction
Just need to fix this return bug... Thank you to anyone that replies to this over asked question.