basic newbie problem with loop

SFilip

Gone but not forgotten
Reaction score
634
"value" and "help" are unassigned. If you try to read from an unassigned variable, the thread crashes and all following actions are ignored.
 

XeNiM666

I lurk for pizza
Reaction score
138
change
JASS:
        set x = y + 1

to
JASS:
        set x = x + 1

also assign an initial value for help and value like 0 cause the whole trigger wont work if you dont.
so its:
JASS:
local integer value = 0
    local integer help = 0
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top