Yanfly class change, but mid-battle

Hi RPG Maker community!

So I would like to ask if there is a way to use Yanflys class change plugin to change classes during battle.

I tried to add a battle skill which calls a common event, which has the plugin command OpenClass in it. However, nothing happened.

Anyone knows how I could do this? Thank you so much.
Yanfly added a check to the OpenClass Plugin Command, if the party is in battle, if that is true it won't open the Class Change Scene. Instead of using the Plugin Command, just add a scriptcall to the Common Event and input:
Code:
SceneManager.push(Scene_Class)
This will open the Class Change Scene.
Thank you so much, this worked like a charm!

One more thing: Is there a way that when using the Magic Battle Command, only the Skills of the currently selected class will show up?

For some reason, I see all of the skills of the available classes now when I select the Skills command, even if I don't have the according class activated.
NOTE: If you are using the Class Change Core and are wondering why skills from other classes are appearing in other classes, it is because you are using the same skill type. This is an intended function. The same way if you were to NOT use the Class Change Core plugin and use RPG Maker MV’s default class changing event, any skills acquired from the class you changed from will remain in the character even after changing. That is just how it works and I have no plans on changing that. If you wish to distinguish your skills to certain classes, then make different skill types for those classes and set those skills to those new skill types.
Taken from http://yanfly.moe/2015/11/27/yep-32-class-change-core/
This was exactly what I was looking for too, though whenever I use the class change skill I created, it only opens up the menu for my party leader, regardless of the character who used the skill. Is there something I'm doing wrong?
Yanfly added a check to the OpenClass Plugin Command, if the party is in battle, if that is true it won't open the Class Change Scene. Instead of using the Plugin Command, just add a scriptcall to the Common Event and input:
Code:
SceneManager.push(Scene_Class)
This will open the Class Change Scene.
Thank you so much for your help. One final question: Is it possible to open this during battle, change class, and not use a turn by doing that? At the moment, the Common event is triggered by a skill, and afterwards the turn is already over 🙁.
@jjleroy
Use Yanfly's Instant Cast http://yanfly.moe/2015/10/30/yep-22-instant-cast-2/
Edit: Nevermind it suddenly worked. Thank you so much!
@waynee95 Hey, could you maybe help out again? It still happens to me that when I use the skill, the class change menu only appears for the party leader and not the one using the skill :/
Hey, if this thread is still open, Is there a way to skip the class change window and have a player's skill force a class change mid battle?

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-class-change-but-mid-battle.83046/