Toxicshad0w Posted March 31, 2013 Share Posted March 31, 2013 (edited) So for the past few hours I've been working on a mod I'm quite excited for, however I seem to have messed up somewhere. I'm trying to get a TextInput window open, that works alright, but it can't update. I've tried various methods for calling the UpdateTextInput function, but they don't work. The OpenTextInput window seems to stop EVERYTHING in the script, just so it can return the string. My source currently resembles this: begin OnActivate; Set some variables, nothing much. ;Insert, "Set some variables, nothing much." here. OpenTextInput "Fancy string thing | Done" 0 16 End begin MenuMode if (TextBoxIsOpenVariable == 1) UpdateTextInput endif End begin GameMode ;Handling for the box. Includes error catching and a button manager. I omitted this because it's unnecessary for troubleshooting purposes. ;Also features an error message if it can't achieve the intended purpose of the input. End My issue is that I can't get the input box to update. I tried putting the update function inside the GameMode, but that doesnt work because my GameMode block pauses on some other If statements, waiting to get the actual input. Any help is appreciated, hope you're all having a good Easter ^^;Edit: The if statement in the GameMode was my problem the whole time. I wasted like 2 hours on that one issue. Sorry for wasting your time e.e Edited March 31, 2013 by Toxicshad0w Link to comment Share on other sites More sharing options...
Recommended Posts