More Self Switches

Timer Enhancements
Authors: gameus
Version: 1.0​
Introduction
Allows you to use infinite self switches in any event.

Features
  • Allows the use of infinite self switches
Screenshots
Spoiler
oVoGIIf.gif
Spoiler
K1sDMhV.gif
Script
MoreSelfSwitches.Js

Instructions
Place the script in a file and save it in your 'plugins' folder. Name the file 'MoreSelfSwitches.js'

To create a custom self switch, you must first check the self switch box
on any page. Then add a comment at the top of the page and follow the format



Code:
switch:custom_switch_name
After that, use the Plugin Command and call
Code:
SelfSwitch custom_switch_name true/false
Thus allowing as many self switches as you want, with whatever name!

Compatibility
Not tested with any other plugins but should work in most cases.

Credits and Thanks
  • gameus
Just what i've been looking for. Thank you!
Perfect thanks
Does not work for me.
Can I get a list of plugins you're using? A screenshot of how your event is setup?
I might test it later to be sure, but it should make simple farming systems much easier to event (Though more complex ones I don't think this would be useful for.)
Not working as well, brand new project just this plugin loaded. Mirror of the very well done images above. Try downloading this file and see if you might have made another edit and forgot.
Updated. Small syntax error on my part. Sorry about that guys.
Works, thank you for the fast update.
This is pretty darn cool, for those times where an event is all self contained and doesn't need to interact with anything else (thus no need to manipulate variables or switches).  Thanks!
Updated. Small syntax error on my part. Sorry about that guys.
Thank you for your work.
Do you know if there is any chance you could get the self switches to work with conditional branches, or make script calls versions of them? Trying to use this with Orange Time System.
What are your terms of use (commercial)?
I found a bug: whenever you pop-up the menu screen, the events loose the switch number and goes back to the first page.

Also want to know your terms of use. Can be used for comercial projects with proper credits?

Also found that going to another map and returning back the bug solves and the switches works again. But again when oppening the menu screen the bug returns.
This  is another one of your awesome plugins, Thanks! What are the  terms for commercial  use?
I found a bug: whenever you pop-up the menu screen, the events loose the switch number and goes back to the first page.


Also want to know your terms of use. Can be used for comercial projects with proper credits?


Also found that going to another map and returning back the bug solves and the switches works again. But again when oppening the menu screen the bug returns.

 This bug has yet to be fixed...  Can I assume that Gameus no longer around for bug fixes?
Just a bump to see if I can get this little quirk fixed...
Unfortunately Gameus stopped support for this plugin time ago.

If you want an alternative you can check my event extension plugin:
http://forums.rpgmakerweb.com/index.php?threads/icf-soft-event-extension.65935/
http://mvplugins.com/plugin/ICF-Soft/ICF-Soft Event Extension

It works fine with a lot of options even in version 1.00, but if you want to use latest version you'll also need my main utility plugin:
http://forums.rpgmakerweb.com/index.php?threads/icf-soft-main-utility.67848/
http://mvplugins.com/plugin/ICF-Soft/ICF-Soft Main Utility

You can ask me for help if you need.

I hope it'll be usefull and solves your problem.
Unfortunately Gameus stopped support for this plugin time ago.


If you want an alternative you can check my event extension plugin:





It works fine with a lot of options even in version 1.00, but if you want to use latest version you'll also need my main utility plugin:





You can ask me for help if you need.


I hope it'll be usefull and solves your problem.

The problem is this...  I have used this in a complex event/puzzle the has the potential to come completely unraveled if I start messing with it.  In fact I'm surprised I got it to work in the place...  Other than this one quirk the plugin works great for what I've done with it.  Just fixing that little bug will make things work perfectly and I won't have to go through the 16 events, each with 8 pages, and change all the selfswitches code [for which there are 8 for each page].  8 codes * 8 pages = 64 pieces of code.  64 pieces of code per event * 16 Events = 1024 pieces of code for the entire Puzzle to work properly.


I guess if I find time to it do later I can change the plugin to something else, but I don't have that much time at the moment and was hoping for an easy fix...


That's all.
Then I don't know how to solve it.


That's a weird bug. I'm checking plugin but I don't find where is the problem.

Original thread: https://forums.rpgmakerweb.com/threads/more-self-switches.47170/