thank you so much!! i was worried id have to make individual common events for *every* switch i needed
Hi! I'm not sure if that helps, but you can also always fall into the hellhole of conditional branching?
Common events are useful and I think almost necessairy for this in 2003?
But you can set up your system differently, depending on what conditional branches you use!
(Plugins are certainly easier, but here are a few absolutely overcomplicated ideas:
*EDIT: Upload to git in case anyone needs this:
https://github.com/Fyoriosity/Public_Feedback/tree/main/Click_here_to_continue/RPG_Maker/BecomeFrogo
1. Lie to your player
You can make n(number of Effects you are creating) number of actors.
So instead of like, giving an effect to the player sprite, you can also make n Actors XD
When using an item, they can be switched around. Makes party management hell!
2. Make worse Common Events
If you really do not want to use common events, there isss another sort of method?
So this is terrible, but I've run into a few instances where I had to do that, and well:
You can make local-common events!
By that I mean you make an event on autorun with a selfmade selfswitch.
An Event manager so to speak?
In your example:
Make a map for debugging
Create your items and your actors. I made two items, frog and cat effects. And three actors:
(Ignore DebugDude)
Default, Frog and Cat!
- Make a Variable to store your effects (like 0 for normal, 1 for Frog, etc.), and one Variable to store
THE EFFECT PREVIOUSLY USED!
(0001: PlayerStatusEffects, and 0002: Last_Status)
- Make a switch for each item
Now, I make an autorun event called [EFFEKT-MANAGER].
This manager is always opened on item use, but also automatically undoes that switch.
Basically self-switching.
It will set Last_Status to the previously used Status effect.
Before then checking whether the Player is already using the effect they want.
If they don't, they use the effect. If they do, they return to normal, like in Yume Nikki!
Great! Now you just need to actually turn into these things.
You can change the graphic or whatever you wish to do, I chose to mess with my party members.
I made a common event that adds an actor according to the PlayerEffekt Variable, and that removes the party member according to the Last_Status.
Finally, just for Debugging, I made an autorun event on the debugging map that gives me all the items and initialises both variables.
(So that we don't run into any fun lil errors when it tries to add Actor 0).
You can also put in som error-event handling but erm....
This is for a short post so forgive me my windedness.
Instead of a bunch of common events, you have to make a bunch of local events, and then copy then onto each map where you want to be able to transform XD
You might as well make a common event for each, but if you really want to avoid using common events,
this way you only use a single one! You can also just copypaste that into the event-manager, but, you know.
We like functions here. Functions tasty.
One perk using not-common-events for this is that you can iterate on it more easily?
I usually have a map I simply use as a Code-Graveyard, where I can copypaste iterations of these systems into as a backup.
But here you go!
I can now transform into a frog!