Hi! Sorry wasting your precious time with this stupid person but...
My Obsessive Compulsive Disorder keeps screaming when they have something out of order or when there's trash scattered around, in this case, switches...
In short, is there a way to find unused switches?
There's a way to track not used switches?
● ARCHIVED · READ-ONLY
-
-
Hey, you waste nobody's time here.
We volunteer to help each other.
Switches is no big deal. You don't have to remove any unused ones.
Check out this thread too. :)
https://forums.rpgmakerweb.com/inde...nused-variables-and-swtiches-in-vx-ace.94862/ -
Owww, that's is fast! Thanks buddy!
-
You 're welcome!
-
Here is something that you might find helpful. Just put it into a new script slot above Main, play, then choose XRef from the menu. It will cause the game to be a bit slower when loading, so you might want to disable it by default and only enable it when you want to look things up.
Cross Reference Tool
May not work if you have any kind of custom menu in the game. -
Hi! thank for the tip but...Here is something that you might find helpful. Just put it into a new script slot above Main, play, then choose XRef from the menu. It will cause the game to be a bit slower when loading, so you might want to disable it by default and only enable it when you want to look things up.
Cross Reference Tool
May not work if you have any kind of custom menu in the game.
What does this script do exactly? Just increase the loading time? How can this be useful to me?
Please, I hope you'll forgive me if that sounded rude, I did not mean to...
Again, forgive me, I'm feeling really bad about this... -
lol - yes, I like to write scripts that do nothing but increase the loading time. :D
As the name suggests, it is a cross reference tool. It is a developer tool that you use while making the game, but remove before distribution. With it active, you can go into the menu, select the XRef command, and get a massive list of everything you have in the database, and every other database item, map and event that uses it. So it will show you which switches or variables are unused, but it'll also show you all of the events that use a particular switch or variable, or anything else in the database.
Try it - if it doesn't work or you don't like it, remove it :) -
Owww, how can i be so stupid? Really i don't look the name of the script? For all the Hello Worlds of the world... See? I stupid, sorry ^^\lol - yes, I like to write scripts that do nothing but increase the loading time. :D
As the name suggests, it is a cross reference tool. It is a developer tool that you use while making the game, but remove before distribution. With it active, you can go into the menu, select the XRef command, and get a massive list of everything you have in the database, and every other database item, map and event that uses it. So it will show you which switches or variables are unused, but it'll also show you all of the events that use a particular switch or variable, or anything else in the database.
Try it - if it doesn't work or you don't like it, remove it :) -
One question, when display, "No reference found" it's mean the switch is not used?lol - yes, I like to write scripts that do nothing but increase the loading time. :D
As the name suggests, it is a cross reference tool. It is a developer tool that you use while making the game, but remove before distribution. With it active, you can go into the menu, select the XRef command, and get a massive list of everything you have in the database, and every other database item, map and event that uses it. So it will show you which switches or variables are unused, but it'll also show you all of the events that use a particular switch or variable, or anything else in the database.
Try it - if it doesn't work or you don't like it, remove it :) -
yes, I think so. Been a while since I used it.
It would be interesting to see if it gives the same results as the other script.
Note - this only looks at your default project files (anything in the data folder). It cannot tell if you use anything in scripts or script calls. So be wary about deleting or reusing things. It is more useful if you want to find where something IS used - say you have an accessory and you want to change it to be a weapon - this will tell you all the places where you've used that accessory, so you can go and change all instances to use it as a weapon instead.