View Single Post
  #1  
Old 09-13-2003, 07:42 PM
Androk Androk is offline
Registered User
Androk's Avatar
Join Date: Apr 2003
Posts: 614
Androk is on a distinguished road
Gani Script, Problem (Still a script)

I am having this strange problem. I made a script and implemented it into 2 ganis (Walking and idle), the script is identical, yet in idle state it does not work properly, but in walking one it does.

here is the part of the script that doesn't work properly:

NPC Code:

for (i=0;i<this.lines;i++) {
showtext 2001+i,playerx+3,playery-1-this.lines*.5+.5*i,Comic Sans MS,,#p(1+i);
changeimgcolors 2001+i,0,0,0,1;
changeimgzoom 2001+i,.6;
changeimgvis 2001+i,3;
}



In idle state it displays only 1 show text, instead of 2-4 (depending on this.lines variable). Does anyone know what's wrong?
__________________

Name: Androk
Reply With Quote