Thread: Wraptext 2?
View Single Post
  #7  
Old 09-29-2005, 05:27 AM
Torankusu_2002 Torankusu_2002 is offline
'been round.
Torankusu_2002's Avatar
Join Date: Nov 2001
Posts: 1,246
Torankusu_2002 is on a distinguished road
the only problem I am having now is trying to display it in a showtext.

NPC Code:

token1.wraptext2(760,1," ",client.questtitle);
token2.wraptext2(760,1," ",client.questtitle2);



and later ->

NPC Code:

for(this.i = 0; this.i < token1.size(); this.i++){
showtext(1,screenwidth/2-210,screenheight/2-80+(this.i*15),"Arial","B",token1[this.i]);

changeimgvis(1,5);
changeimgzoom(1,.6);
}



That could be horribly wrong, but I don't know much about the whole object system and how I would access the text I've wrapped..

Also, index is set to 1 for testing purposes only. I haven't assigned it an index yet.
__________________
torankusu's
Reply With Quote