赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 1 |
经验 | 0 |
最后登录 | 2025-5-12 |
在线时间 | 6 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 51
- 在线时间
- 6 小时
- 注册时间
- 2025-4-29
- 帖子
- 6
|
- /*:
- * @target MZ
- * @plugindesc Lets you customize the X and Y position of the choice list window (Window_ChoiceList) in RPG Maker MZ.
- * @author SekiShiyo
- *
- * @param ChoiceX
- * @text Choice Window X
- * @desc X position of the choice window
- * @default 240
- *
- * @param ChoiceY
- * @text Choice Window Y
- * @desc Y position of the choice window
- * @default 360
- */
- (() => {
- const params = PluginManager.parameters("ChoiceBoxPosition");
- const choiceX = Number(params["ChoiceX"] || 240);
- const choiceY = Number(params["ChoiceY"] || 360);
-
- const _Window_ChoiceList_updatePlacement = Window_ChoiceList.prototype.updatePlacement;
- Window_ChoiceList.prototype.updatePlacement = function () {
- _Window_ChoiceList_updatePlacement.call(this);
- this.x = choiceX;
- this.y = choiceY;
- };
- })();
-
复制代码 |
|