[Resolved]set integer = 1 + 1 is an invalid type
when I try to enable this trigger it tells me that set liSlot = liSlot + 1 is an invalid type for specified operator...
when I try to enable this trigger it tells me that set liSlot = liSlot + 1 is an invalid type for specified operator...
JASS:
function Trig_Magical_Stone_Actions takes nothing returns nothing
local item litComponent1
local item litComponent2
local integer liSlot = 0
local boolean lbManaStone
local boolean lbMaskMagic
if ( Trig_Magical_Stone_Mana() ) then
loop
exitwhen (Trig_Magical_Stone_Mask_of_Magic())
set liSlot = liSlot + 1
call PolledWait (0.1)
endloop
else
endif
endfunction