View Single Post
  #1  
Old 03-08-2011, 12:36 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
getlines() quirk

I have a guiMLTextCtrl and when the player invokes a few certain actions, a function will change the text, afterward I call a function that uses getlines() with MLText. Now .text returns the appropriate text always but only if I remove a line of text from the MLText will it return the proper line array. How come getlines is not returning my MLText all the time?

EDIT : adding a sleep() delay to the beginning final functions seems to correct it.
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote