View Single Post
  #2  
Old 09-02-2002, 12:16 PM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
perhaps its because the image hasn't loaded into the memory yet? Thus makeing your wraptext size a negitive number and making a near infinite (or negitive, just as bad) number of tokens. I would make it more defined.

like
NPC Code:

this.width = (imgwidth(dk_window.png)-16 > 0? imgwidth(dk_window.png)-16 : 128);
wraptext2 this.width,1,,@Trebuchet MS@Use the Arrow Keys...etc;



Or maybe just put in the acual width of dk_window.png, since its never gunna change anyway. (I would recommend this option over the previous)
__________________

subliminal message: 1+1=3

Last edited by Falcor; 09-02-2002 at 12:28 PM..
Reply With Quote