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.