hi all,
this return an error but i don't understand why?
the function is much bigger but the error seems:
set id = GetItemTypeId(UnitItemInSlotBJ(hero, i)
ItemID should be integer right?
this return an error but i don't understand why?
JASS:
function aaa takes nothing returns nothing
local integer array id
loop
exitwhen i > 6
set id[i] = GetItemTypeId(UnitItemInSlotBJ(hero, i)
endloop
endfunction
the function is much bigger but the error seems:
set id = GetItemTypeId(UnitItemInSlotBJ(hero, i)
ItemID should be integer right?