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 02-22-2004, 06:52 AM
XiLe XiLe is offline
Lylic < Me
XiLe's Avatar
Join Date: Dec 2002
Location: My House
Posts: 224
XiLe is on a distinguished road
Send a message via AIM to XiLe Send a message via MSN to XiLe
Auto Resizing Text

There is obviously no way to shrink text automatically (or at least Loriel said)

I came up with this script, but it doesn't seem to want to work. I tried it with for at first, and when it wouldn't work I tried the while, which just happened to refuse. I reconnected a few times, disconnected and /npcstarted up my NPC Server (couldnt do it with cpanel, it wont work) and it still doesnt work.. any ideas?

function showweap() {
wraptext2 97,.5,@Verdana@b,#w;
i=.5;
// for (i=.5; !strequals(#w,#t(0)); i-=.01 {
while (!strequals(#w,#t(0))) {
i-=.1;
wraptext2 97,i,@Verdana@b,#w;
}
showtext 506,3,1,Verdana,b,#t(0);
changeimgvis 506,8;
changeimgzoom 506,i;
// }
timeout=.05;
}
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 10:16 AM.


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