Quote:
Strait from newfeatures2002.txt
- new script commands:
- wraptext linelength,delimiters,text;
Word-wraps a text into pieces each of length
'linelength'; the result can be accessed by reading
#t(0..tokenscount-1)
- wraptext2 pixelwidth,zoomfactor,delimiters,text;
Wraps a text depending on the visible text width;
instead of the numbers of characters you give the
width of the text on the screen (in pixels);
the text can be like in showimg, e.g. @TimesRoman@b@text
|
I am guessing its like this:
NPC Code:
if (playerenters) {
wraptext2 16*10,1,,Welcome to Graal Allz Youz Peoplez;
for (i=0;i<tokenscount;i++) {
showimg i,@#t(i),5,100+(i*15);
changeimgvis i,4;
}
}
So the delims can be like this:
NPC Code:
if (playerenters) {
wraptext2 16*10,1,^,Welcome to Gra^al Allz You^z Peop^lez;
for (i=0;i<tokenscount;i++) {
showimg i,@#t(i),5,100+(i*15);
changeimgvis i,4;
}
}
It just puts another break wherever that is, could be useful, somehow.