Thread: player.loadvars
View Single Post
  #5  
Old 04-15-2009, 06:20 PM
salesman salesman is offline
Finger lickin' good.
salesman's Avatar
Join Date: Nov 2008
Location: Colorado
Posts: 1,865
salesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud of
Quote:
Originally Posted by Schetti View Post
isnt there a way, to get the same text, as I wrote down? without any "" or such?
I haven't used loadLines() much, but I'm assuming you could just loop through the array of lines and add them to the GUI control one at a time...

Something like this:
PHP Code:
temp.paragraph.loadlines("somefolder/textfile.txt");
for( 
temp.lineparagraph ) {
  
MyGuiControl.text MyGuiControl.text "\n" line;

Anyways, I'm heading to class, so I'm not sure if this makes sense or not
Reply With Quote