Any ideas that a point removal cause action skips?

R@i_no_Wyrm

New Member
Reaction score
43
I made a spell and it is using an array which loops for 30 times. Strangely; actions after "call RemoveLocation(udg_Point1)" are skipped some times. When i put it to the bottom line, the trigger works correctly. Any logical explanation for this one?
 

Exide

I am amazingly focused right now!
Reaction score
448
Should probably be:

"call RemoveLocation(udg_Point[1])"
 

Magentix

if (OP.statement == false) postCount++;
Reaction score
107
Either that, or:

"call RemoveLocation(udg_Point[0])"


Don't know where GUI->JASS arrays start at.
 

R@i_no_Wyrm

New Member
Reaction score
43
err... the exact problem is WHY it is skipping the actions. It is usable (i've disabled-enabled the trigger) but when i put it between the lines some actions after it will be skipped. I just want to know.
 

THE_X

New Member
Reaction score
49
can you post the trigger so we can get a better look at your problem?
 

denmax

You can change this now in User CP.
Reaction score
155
Are you sure you set it INSIDE the loop?

I had this ALWAYS, so you'd have to set it as array and just remove it like this:

Custom script: call RemoveLocation(udg_PointVar[bj_forLoopAIndex])
 

R@i_no_Wyrm

New Member
Reaction score
43
of course. Take a look at my spell at the hell contest, drag the remove point at the periodic 0.1 to 3 lines upwards. it may bug sometimes.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top