rpg_el's SelfSwitchCDNowTemporary.js
rpg_el's SelfSwitchCDNowTemporary.js v1.0.2Description:
Here is a plugin to make self-switch C & D always reset after re-entering a map on all events present. Switch A & B remain permanent as before.
Possible uses: if you need a use case for this, take this one: imagine you want to have event page 1 be a "startup event page" with Trigger=Parallel that runs once for an event that then immediately becomes Trigger=Action Button on event page 2+. (E.g. with event page 1 moving the event around / changing graphics / other setup, while event page2 it then just stands there to be interacted with as any regular NPC.) If you do this with a self switch as condition for page 2 which is set at the end of your page 1 setup, then your setup will only run the first time the player visits this map: on second run the self switch will still be on, so page 1 will be skipped. While there are workarounds for this, all of them involve at least one additional separate event, which can be messy in complex maps in comparison and if this bothers you, you may want to use this plugin.
Download:
https://wobble.ninja/rpgm/plugins/SelfSwitchCDNowTemporary.js
Note:
If you use this in your game, note your usage by listing "SelfSwitchCDNowTemporary.js by rpg_el/Ellie" in your credits. Please don't redistribute this plugin outside of a game, e.g. as part of a plugin collection, without asking me.
本贴来自国际rpgmaker官方论坛作者:rpg_el处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/rpg_els-selfswitchcdnowtemporary-js.127429/
页:
[1]