ok so I have..
stat("Messages",src.Message)
and in this staat I give it random messages, How would I
make it the text go down to the next line?
Now: TestTestTest
Example:
Test
Test
Test
Also, when it gets too far down and when it reaches the edge of the screen, to where you would have to start to scroll down, is there a way to make the message null when it gets down that far?
ID:268153
Mar 25 2004, 4:19 pm
|
|
i dont know if dm has this but at the end of eash message add
--code-- + "\n" + --end-- if it works it will give it a new line but i think if this work it might only be for text formating not stat panels. |
In response to Loduwijk
|
|
whats .lin?
|
In response to Kasumi Tomonari
|
|
It's len, and it's a variable that lists have which tells how long they are (how many things they contain).
The example shows "Messages" along with the first thing in the list if the list does have anything in it. Then if the list still has more messages in it, the for loop will go through each one and add that in too. |
In response to Loduwijk
|
|
I got it working, another way, but still, its working XD
and yes u can check how many lines there are in a text XD |
In response to Kasumi Tomonari
|
|
I never said anything about checking number of lines in text and you never asked about that. You asked if you can check to see if something is long enough to warrent a scroll bar, and you cannot do that.
|
As for the other question, no you cannot know how much space a player has on his window so you cannot determine where to stop it short before having a scrollbar.