Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
PANDA Control Self Switches - PANDA_ControlSelfSwitches.js
Plugin desc : control any self switches by plugin commands.
License : MIT License
Author : panda(werepanda.jp)
Website : https://www.werepanda.jp/
Desc page : http://www.werepanda.jp/blog/20200824225543.html
File name : PANDA_ControlSelfSwitches.js
Help of plugin :
* @target MZ * @plugindesc control any self switches by plugin commands. * @author panda(werepanda.jp) * @url http://www.werepanda.jp/blog/20200824225543.html * * @help [How to Use] * Add Plugin Commands to control any Self Switches. * * # Reset Self Switches * Turn OFF the Self Switches of specified Map ID and Event ID. * - Map ID : Input Map ID. (0 = all maps, -1 = current map) * - Event ID : Input Event ID. (0 = all events) * - Self Switch : Select the Self Switch from A-D. (blank = all self switches) * * # Set Self Switches * Turn ON the Self Switches of specified Map ID and Event ID. * - Map ID : Input Map ID. (-1 = current map) * - Event ID : Input Event ID. * - Self Switch : Select the Self Switch from A-D. * * [License] * this plugin is released under MIT license. * https://opensource.org/licenses/mit-license.php * * @command RESET * @text Reset Self Switches * @desc Turn OFF the Self Switches of specified Map ID and Event ID. * * @arg mapID * @text Map ID * @desc Input Map ID. (0 = all maps, -1 = current map) * @type number * @min -1 * @default 0 * * @arg eventID * @text Event ID * @desc Input Event ID. (0 = all events) * @type number * @min 0 * @default 0 * * @arg switchID * @text Self Switch * @desc Select the Self Switch from A-D. (blank = all self switches) * @type select * @option * @option A * @option B * @option C * @option D * @default * * @command SET * @text Set Self Switches * @desc Turn ON the Self Switches of specified Map ID and Event ID. * * @arg mapID * @text Map ID * @desc Input Map ID. (-1 = current map) * @type number * @min -1 * @default -1 * * @arg eventID * @text Event ID * @desc Input Event ID. * @type number * @min 1 * @default 1 * * @arg switchID * @text Self Switch * @desc Select the Self Switch from A-D. * @type select * @option A * @option B * @option C * @option D * @default A