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

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

MZ plugins

Wait Interpreter Condition - WaitInterpreterCondition.js

Plugin desc : Conditional Weight Plugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com

Desc page : https://github.com/triacontane/RPGMakerMV/tree/mz_master/WaitInterpreterCondition.js

Download Page : https://raw.githubusercontent.com/munokura/triacontane-MZ-plugins/refs/heads/main/WaitInterpreterCondition.js

File name : WaitInterpreterCondition.js

Help of plugin :

@target MZ
@url https://github.com/triacontane/RPGMakerMV/tree/mz_master/WaitInterpreterCondition.js
@plugindesc Conditional Weight Plugin
@author Triacontane
@license MIT License

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/triacontane-MZ-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----

WaitInterpreterCondition.js

Provides a plugin command that waits until a condition is met before executing
an event.

Conditions that can be specified are switches and scripts.

Control characters such as ¥v[n] and ¥s[n] can be used in scripts.
The event will not proceed until the condition is met, so be careful not to
interrupt the game.

Terms of Use:
You may modify and redistribute this plugin without permission from the
author, and there are no restrictions on its use (commercial, 18+, etc.).
This plugin is now yours.

@command wait_switch
@text Switch Weight
@desc Waits until the specified switch is turned ON.
@arg switchId
@text Switch ID
@desc The switch number to wait until it turns ON.
@type switch
@default 1

@command wait_script
@text Script Weight
@desc Waits until the specified script becomes true.
@arg script
@text script
@desc This script waits until the return value is true. It is executed every frame.
@type multiline_string

スポンサードリンク

-MZ plugins

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