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

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

MZ plugins

RX T Game Sw Bat Ctrl - RX_T_GameSw_BatCtrl.js

Plugin desc : You will be able to operate the self-switch in batches.

License : MIT License

Author : TYPE74RX-T

Website : https://w.atwiki.jp/type74rx-t/pages/221.html

Desc page : https://w.atwiki.jp/type74rx-t/pages/221.html

Download Page : https://raw.githubusercontent.com/munokura/RX_T-plugins/refs/heads/main/RX_T_GameSw_BatCtrl.js

File name : RX_T_GameSw_BatCtrl.js

Help of plugin :

* @target MV MZ
 * @plugindesc You will be able to operate the self-switch in batches.
 * @author TYPE74RX-T
 * @url https://w.atwiki.jp/type74rx-t/pages/221.html
 *
 * @command switches
 * @text Game-Switches
 * @desc You can operate the Game-Switch in batches.
 *
 * @arg switch_arc
 * @text Game-Switches ID
 * @desc Where you want to operate the game-switch in batches
 * Individual ON/OFF operation is possible for any ID.
 * @default []
 * @type struct<RXSwitch>[]
 *
 * @command switchesEX
 * @text Game-SwitchesEX
 * @desc Batch operate of the same type of game-switch(mostly manual input)Warning:Be careful not to let the configuration fail!
 *
 * @arg switchIDEX
 * @text [Ex]Game-Switch ID
 * @desc Eligible switch IDs. Multiple selections are possible.
 * For example:1, 7, 13-24, 30
 * @type string
 *
 * @arg statusEX
 * @text Switch Status
 * @desc This is a game-switching state (ON/OFF).
 * @default false
 * @type boolean
 *
 * @help Batch operation of game-switch
 *
 * This plugin is compatible with RPG Maker MV and RPG Maker MZ.
 *
 * You need the official Plugin ”CommonBase.js” plugin to use this plugin.
 * Stote:C:¥Program Files¥KADOKAWA¥RPGMZ¥dlc¥BasicResources¥plugins¥official
 * Steam:C:¥Program Files (x86)¥Steam¥steamapps¥common¥RPG Maker MZ¥dlc¥BasicResources¥plugins¥official
 * 
 * ◆Summary
 * You will be able to operate the game-switch in batches.
 * The difference between this function and the default function is that you
 * can set the ON/OFF setting to any individual switch ID and there is a wide
 * range of selections for the range.
 *
 * [Note]
 * Only the MZ version allows you to set individual ON/OFF settings for
 * favorite switch IDs.
 * A wide range of range selection is a feature common to both the MZ and
 * MV versions.
 * For example, you can select such a range as ”1 to 3, 5, 9 to 16”.
 *
 * ◆Plugin Command(MZ)
 * Plugin File:RX_T_GameSw_BatCtrl
 * 
 * ★Game-Switches
 * Click ”Game Switch ID” under ”Arguments”.
 * When a new window appears, double-click on the blank space next to
 * the numbered field.
 * The ”GameSwitchID” and ”SwitchStatus” are specified respectively.
 * Do this operation as many times as you need.
 *
 * Sorry, but this parameter setting is only available in Japanese
 * due to programmatic reasons...
 *
 * ★Game-SwitchesEX
 * It’s a little different from the way the above is set up.
 * The game-switch ID is easier to specify, but the switch state cannot be set
 * individually.
 * If you want to initialize a game-switch with a wide range but detailed
 * designation, this may be easier.
 * However, be very careful not to make a mistake in setting up the 
 * game-switch, because it is mainly based on keyboard input.
 *
 * ◆Plugin Command(MV)
 * For example, if you want to turn ON game-switches 1-3, 5, and 9-16.
 *
 * rx_sw 1-3 5 9-16 ON
 *
 * Instead of separating them with commas, open a space.
 * The ON and OFF settings must be written at the end.
 *
 * ◆Spec for MV version
 * When specifying ON or OFF, any string other than ”ON” is considered ”OFF”.
 *
 * ◆License
 * This plugin is released under MIT license.
 * http://opensource.org/licenses/mit-license.php

スポンサードリンク

-MZ plugins

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