[MV] More Self Switches

Started by G_G, October 25, 2015, 03:53:27 am

Previous topic - Next topic

G_G

October 25, 2015, 03:53:27 am Last Edit: October 27, 2015, 11:54:41 am by Blizzard
More Self Switches
Authors: gameus
Version: 1.0
Type: Event Add-on
Key Term: Environment Add-on



Introduction

Allows you to use infinite self switches in any event.


Features


  • Add as many self switches to any event as you want




Screenshots

Spoiler: ShowHide

Spoiler: ShowHide



Demo

N/A


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

switch:custom_switch_name

After that, use the Plugin Command and call

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




Author's Notes

My first RPG Maker MV script. Woo hoo! While a simple script, this was created as a learning experience to learn a bit how this engine works.

ChampCrazy

very Useful Script but Sadly its Only workling with turning selfswitches on.
Turning them off doesnt work :/
Needs an update

G_G

Yup. I'm aware. Someone on RPGMakerWeb forums had let me know. Busy with holidays as soon as I get some free time I'll fix it.

ChampCrazy

Guess it's never happening :/
Would be very useful... maybe someone else is doing it instead

Hero5th

Why deal with just switches when you have self Variables

http://himeworks.com/2015/12/self-variables/

Perhaps your Update answer lies in the mystery of what Hime Works did :3