I used the RestoreGameDialog(); script on a hotspot to bring up the load screen.
But when I test the game this is what pops up.
(http://www.2dadventure.com/ags/loaderror.png)
When this happened to me recently, I discovered that when I deleted an obsolete GUI, AGS had renumbered the GUIs. So, in the general settings, where I had defined which GUI should be used as a textbox, the number I had put no longer applied.
Check it out!
on your general settings pane, there is, on the right column, a section for dialog options. what gui number is typed in for "Dialog options on GUI __"
if its the same as the one you are trying to load, then that could be your prob
nothing is in there the selection isn't checked out.
But I think that the solution to this problem created my curent problem:
http://www.agsforums.com/yabb/index.php?topic=14906.0
I'm not sure exactly what you've tried and haven't tried, but here's how what you need to have:
1) In the GUI section, make a GUI and make sure the Text Window selection is checked.
(http://jetkobayashizala.kicks-ass.net/help2.gif)
2) In the General Section on the righr side under "Text output," make sure the "Text Windows use GUI [__]" is checked and the right GUI number is in the textbox.
(http://jetkobayashizala.kicks-ass.net/help1.gif)
Sorry for the big images.Ã, Just trying to make it as easy as possible.
Check those and if you are still having problems, let us know.
thanks. That did it. It works :D
Ah, good. No probs.