I'm trying to make a basic "Are you sure you want to quit?" GUI for the first time. I've made the GUI, but now I have an issue coding it.
CODE:
function room_FirstLoad()
{
QUITGUI.Visible = true;
}
On line 3, I get an error that says "expected semicolon after )" I checked if there were spots in previous lines where I forgot semicolons and tried to make QUITGUI.Visible a global variable. but to no such luck. Please help!
Hmmmmm.... perhaps AGS means line 3 of a different script?
I figured it out. I had it written incorrectly. I should've written it as "gQUITGUI.Visible".
Thanks for trying to help anyway.