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 Param Replace - EventParamReplace.js

Plugin desc : Event parameter replacement plugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com

Desc page : https://docs.google.com/spreadsheets/d/1aqY-xzFqT0vnZE-OkfsMYsP9Ud91vWTrBLU-uDkJ-Ls/edit#gid=2095105278

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

File name : EventParamReplace.js

Help of plugin :

@target MZ
@url https://docs.google.com/spreadsheets/d/1aqY-xzFqT0vnZE-OkfsMYsP9Ud91vWTrBLU-uDkJ-Ls/edit#gid=2095105278
@plugindesc Event parameter replacement 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
-----

EventParamReplace.js

Replaces the parameters of the next event command to be executed.

This is primarily used when you want to set a parameter to a variable value,
the result of a script evaluation, or a value outside the allowable range.

Parameter indexes are listed in the reference specified in the URL field.

However, parameters of plugin commands (including this command) are not
subject to replacement.

This plugin requires the base plugin ”PluginCommonBase.js.”
”PluginCommonBase.js” is located in the following folder under the RPG Maker
MZ installation folder:

dlc/BasicResources/plugins/official

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

@command REPLACE
@text replacement
@desc Replace the parameters of the next event command to be executed.
@arg index
@text Index
@desc The index of the parameter to replace.
@type number
@default 0
@arg param
@text Parameters
@desc The parameter value to be replaced. You can use the control character ¥v[n].
@type multiline_string

スポンサードリンク

-MZ plugins

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