Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:39 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.