Save-Point
Switch Extraction Generator - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: Switch Extraction Generator (/thread-8078.html)



Switch Extraction Generator - DerVVulfman - 06-18-2020

Switch Extraction Generator
Version: 1.2





Introduction
This script is designed to search throughout your RPGMaker XP's project to find and record all used RPGMaker XP switches to a file. It will search through both the common event database and through each map and map event, and the troop database recording all switches used to a file. The output file will be named "Switch Extractor.txt" within your project's folder.

Each line will include the Common Event ID, Map/Event/Page number or Troop ID/Page number before listing the switch. With this, the report may be able to help organize their system during game creation.




Script

The Script






Instructions

Too simple. Install it under your scripts and run the game. It does the search for you and makes a report in your project's folder.






Compatibility
Designed for use with RPGMaker XP and currently with the Beta version of the ReGaL gaming system in the works.


RE: Switch Extraction Generator - DerVVulfman - 06-19-2020

BUMP
to Version 1.2

There were TWO issues with the previous version.  First, I neglected to realize that Enemies had switch conditions, not just Troops.  But second, there was an issue where map event triggers were returning incorrect switch IDs.