I'm programming a glossary system that sorts characters by stats.
There is a menu to choose a character, then a page for each character.
The menu
The characters page.
And when I get to a character's page and want to press return, the game uses a command that disposes of the windows on the character's page to return to the menu, and then rpg maker shows me a disposed window error, while the window is clearly NOT disposed yet.
I can tell because to switch from one character to the next without going back to the menu, I use the exact same command that disposes the windows, and it works without giving me this error.
I checked with my command that returns to the menu, it is indeed the command that disposes of the windows that has a problem.
I tried it on a blank project, it returns the same error, so it's not coming from another script.
I just can't figure out why it refuses to dispose my window, and it's driving me crazy.
I need help.
Don't worry about the missing graphics, I added a script to ignore them, it's just so you can see the problems and the script.
The command that dispose of the windows is at the end of the script.
There is a menu to choose a character, then a page for each character.
The menu
The characters page.
And when I get to a character's page and want to press return, the game uses a command that disposes of the windows on the character's page to return to the menu, and then rpg maker shows me a disposed window error, while the window is clearly NOT disposed yet.
I can tell because to switch from one character to the next without going back to the menu, I use the exact same command that disposes the windows, and it works without giving me this error.
I checked with my command that returns to the menu, it is indeed the command that disposes of the windows that has a problem.
I tried it on a blank project, it returns the same error, so it's not coming from another script.
I just can't figure out why it refuses to dispose my window, and it's driving me crazy.
I need help.
Project2
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
The command that dispose of the windows is at the end of the script.