View Single Post
  #3  
Old 01-09-2002, 06:38 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
If your code is something like:
NPC Code:
while (this.var+this.i==2) {
this.var=3;
}

It'll only perform once, even if this.var+this.i becomes 2 again. The solution is quite simply putting it in a timeout loop.
__________________

Reply With Quote