"Quit" won't work

Started by deedee, Mon 23/02/2004 00:38:13

Previous topic - Next topic

deedee

Here´s the script lines i wrote:

if (button == 1)   // quit
     QuitGame(0);

Button number is ok, i can't figure out what's wrong.
When i click the button in the test game; it just closes all GUIs, but doesn't exit the game.

any ideas?
There can be only one.

Darth Mandarb

try QuitGame(1);

and if that doesn't work, make sure the button (in the GUI editor) is set to 'Run Script'

~ d

deedee

Nope. Still the same... and i've checked the buttons and they are correctly set...
There can be only one.

Darth Mandarb

Please then post the full script for that GUI.  It must be some missing syntax or something.

~ d

SMF spam blocked by CleanTalk