Hello everyone i was wondering if it were possible to end a game from an NPC or something. Like you walk up to an NPC and when you press the interaction button on them it shuts down the game?
Is there a way to end the game with a script?
RPG Maker VXAce Supporttype SceneManager.exit in a script call, in an event.
Thankyou.
As this is a very basic question, and you have few posts, I am going to assume that you are new to Ace. Could I strongly urge you to work through Andar's excellent compilation of information and tips for new users. You will find it here.
One of the links he provides is to Dreadshadow's Event commands tutorial game. Play through it and save yourself weeks of time and frustration.
This query is not a General Discussion sort of topic, so I shall be closing the thread now that it has been answered. If you need further help (having done as I suggest about Andar's thread) you will need to post in the Ace support forum.
EDIT
My bad, I read the opening post too quickly and so gave the 'Game Over' command, not the close the game command. The script call by Alexa Angel is the correct solution. sorry about that.
However, I still recommend working through Andar's thread, and I am still going to close the thread as the query is solved (and in the wrong place.)
I've moved this thread to VX Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-end-the-game-with-a-script.45626/