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

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

MZ plugins

Event Conditions Ex - EventConditionsEx.js

Plugin desc : Event conditions can be set in more detail.

License : MIT License

Author : あわやまたな (Awaya_Matana)

Website : https://awaya3ji.seesaa.net/

Desc page : https://awaya3ji.seesaa.net/article/493464265.html

File name : EventConditionsEx.js

Help of plugin :

* @target MZ MV
* @plugindesc Event conditions can be set in more detail.
* @author あわやまたな (Awaya_Matana)
* @url https://awaya3ji.seesaa.net/article/493464265.html
* @help Ver.2.1.0
* [Conditions]
* (1) Enter the comment //Condition in the conditional branch script.
*     Don't forget the two slashes!
* (2) Enter the condition in the conditional branch in (1).
* (3) That conditional branch becomes the condition.
*
* The condition is met when "◆Comment:true" is reached.
* The condition is not met when "◆Comment:false" is reached.
* The condition is also not met if "◆Comment:true" is not reached.
* Can be used for map events and battle events.
*
* [Scripts]
* this.return(true/false); //It is treated the same as a comment.
* this._childResult //Get common event result.
*
* [Specifications]
* For now, This plugin have set an upper limit on the range in which
* appearance condition comments can be detected.
* Please adjust the detection range according to your application.
*
* In RPG Maker MZ, when you run the following command,
* the map will be updated and the appearance conditions will be verified.
* ・Control Switch
* ・Control Variable
* ・Control Self Switch
* ・Change Items/Weapons/Armor
* ・Change Party Member
*
* In addition to this, this plugin also updates the following:
* ・Control Timer
* ・Chage Gold
*
* @param commentOfConditions
* @text Comment of Conditions
* @desc This is a comment used for condition expansion.
* Use // before it.
* @default Condition
*
* @param detectionRange
* @text Detection Range
* @desc Search for a conditional comment in the specified number of lines.
* @type number
* @default 15
* @min 1
*
* @param enableTimerRefresh
* @text Refresh with Timer
* @desc Refresh the map when the timer value changes.
* @type boolean
* @default true
*
* @param enableGoldRefresh
* @text Refresh with Gold
* @desc Refresh the map when making gold changes.
* @type boolean
* @default true
*

スポンサードリンク

-MZ plugins

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