An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

PANDA Reset Self Switches - PANDA_ResetSelfSwitches.js

Plugin desc : reset certain self-switches when the map is initialized.

License : MIT License

Author : panda(werepanda.jp)

Website : https://www.werepanda.jp/

Desc page : http://www.werepanda.jp/blog/20200929011112.html

File name : PANDA_ResetSelfSwitches.js

Help of plugin :

* @target MV MZ
 * @plugindesc reset certain self-switches when the map is initialized.
 * @author panda(werepanda.jp)
 * @url http://www.werepanda.jp/blog/20200929011112.html
 * 
 * @help When entering the map, turn off the self-switches of the events
 * with the event name which matches the specified regular expression.
 * 
 * It can be useful in cases which the state of doors or buttons is reset
 * when entering and exiting the map.
 * 
 * [License]
 * this plugin is released under MIT license.
 * https://opensource.org/licenses/mit-license.php
 * 
 * @param EventName
 * @text Event Name
 * @desc Specify the target Event Name with a regular expression.
 * @type string
 * @default 
 * 
 * @param SwitchList
 * @text Self Switch List
 * @desc Specify the target Self Switches from A-D.
 * @type select[]
 * @option 
 * @option A
 * @option B
 * @option C
 * @option D
 * @default []
 *

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.