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...
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.
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.