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

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

Dynamic Variables - DynamicVariables.js

Plugin desc : DynamicVariablesPlugin

License : MIT License

Author : triacontane

Website : https://triacontane.blogspot.com/

Download Page : https://raw.githubusercontent.com/triacontane/RPGMakerMV/master/DynamicVariables.js

File name : DynamicVariables.js

Help of plugin :

* @plugindesc DynamicVariablesPlugin
 * @author triacontane
 *
 * @param DynamicSwitchStart
 * @desc The start position number of the dynamic switch.
 * @default 0
 * @type switch
 *
 * @param DynamicSwitchEnd
 * @desc The end position number of the dynamic switch.
 * @default 0
 * @type switch
 *
 * @param DynamicVariableStart
 * @desc The start position number of the dynamic variable.
 * @default 0
 * @type variable
 *
 * @param DynamicVariableEnd
 * @desc The end position number of the dynamic variable.
 * @default 0
 * @type variable
 *
 * @param ValidException
 * @desc Handles exceptions during script execution.
 * @default false
 * @type boolean
 *
 * @help When a variable or switch in the specified range is referenced
 * Returns the result of evaluating "variable name" and "switch name" as a script.
 * The following local variables can be used in the script
 *
 * id # ID of the switch or variable to be processed
 * value # the value that was originally in the switch or variable ID to be processed
 *
 * Dynamic variables are valid in all places (*) that refer to variables and switches.
 *
 * Examples of referring to variables and switches
 * 1. decision processing of the event page
 * 2. enemy character action decision processing
 * 3. conditional branching
 * 4. various operands of event commands.
 * 5. Other plug-in references
 *
 * You can also reference additional dynamic variables and switches in your scripts, but you can also use the
 * If you try to reference the variable (switch) with the same number, a circular reference occurs and an error occurs.
 *
 * If you try to refer to a variable (switch) with the same number, it will be a circular reference and an error will occur.
 * Normally, the process of determining the page of events is done when one of the switches or variables is
 * It only runs when it is changed.
 * The plugin retains that specification for performance reasons.
 * If you enter the following in the event memo field, only that event will be executed when
 * You can change it to always check the page conditions.
 *
 * <DVAlwaysRefresh>
 *
 * There are no plug-in commands in this plugin.
 *
 * This plugin is released under the MIT License.

スポンサードリンク

-MV plugins

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