I can't see what's wrong with this...

Choppa

www.warcraft-gamers.po.gs
Reaction score
59
I'm like, super noob as JASS only started learning a while ago, and i'm using JassCraft (please recommend if there's a better program) and it's saying there's a syntax error...

JASS:

local integer a = 1
local boolean array isItemTheSame

loop
    if UnitItemInSlotBJ( heroManipulatingItem, a ) == itemTypeBeingManipulated then
        16:isItemTheSame[a] = true
    else
        18:isItemTheSame[a] = false           
    endif
set a = (a + 1)    
exitwhen (a >= 6)
endloop


It's saying 16:,18: has a syntax error but I don't see anything wrong with it... Is there?
Btw, I don't have 16: and 18: in my script.

EDIT: I figured it out don't worry lol.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top