rpg_el's SelfSwitchCDNowTemporary.js

rpg_el

Veteran
Veteran
Joined
Sep 3, 2020
Messages
64
Reaction score
32
First Language
English
Primarily Uses
RMMZ
rpg_el's SelfSwitchCDNowTemporary.js v1.0.2

Description:
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 page 2 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.
 
Last edited:

prepe

Veteran
Veteran
Joined
Apr 11, 2012
Messages
34
Reaction score
3
Primarily Uses
Your plugin is linked wrong. this one and the sound one are both linked wrong. they both got to a follow? script.

Edit
Thanks for the fix it is proper now.
 
Last edited:

rpg_el

Veteran
Veteran
Joined
Sep 3, 2020
Messages
64
Reaction score
32
First Language
English
Primarily Uses
RMMZ
Oopsie, should be fixed now :kaoswt2:
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I'm hoping to get a call October 1. They should be fully open by then.


With this, all demo dungeon graphics are done.
Eventually I need to make animations...send help.
OcRam demo project is now available at https://ocram-codes.net !!!
mzBaseBody.png added!

Ami
--- Mushroom ---

F.Knight: We runs out the food!
Hero: Anything could eat in this place?
F.Archer: It's a bunch of Mushroom over there. I wonder it's safe to eat.
F.Knight: No worries,we have to fill our inside no matter what it is.
(Hero & F.Knight Eat The Mushroom,After 10 Seconds They Collapse With Foam)

Forum statistics

Threads
103,445
Messages
999,365
Members
134,982
Latest member
nobyde
Top