MZ Reading Note Tags from all Classes in Use?

Good afternoon lovely people,

I have been hard at work building out my Equip Slots plugin and ran into a bit of a snag.

Currently my plugin refuses to address subclasses in place with Class Change System VisuStella MZ and I cannot get it to take into account notetags from anything beyond the primary class equipped by an actor.

This is the line currently in place that pulls the classSlots note tag:

const classSlotIds = this.currentClass().meta.classSlots ? this.currentClass().meta.classSlots.split(',').map(Number) : [ ];

Anyone have any ideas how I might also have that script check note tags in subclasses and add them to the classSlotIds array?


My plugin's thread if you want to take a peek there for reference


I am almost certain this is a super simple fix. I am just overlooking something
depends - it's either simple or impossible.

If the VS documentation gives you a public script code for accessing the subclasses, then you just need to use that code.

However if Visustella doesn't give a public code for this, then there is no way for you to find the required code on your own, because the Visustella scripts are obfuscated.
In such a case your only chance is to send a request toward Visustella to make that part of their code into a public one.
Copied directly from that page:

Q. How do I get the data on which classes and multiclasses an actor has? A. You would have to use the following code to acquire their data: actor.multiclasses() - This returns an array of all of the multiclasses an actor has. - This includes the actor's primary class.
Have you tried that?
Have you tried that?

It was a work in using _multiclasses and going over the arrays a couple times and just a whole thing lol
Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/reading-note-tags-from-all-classes-in-use.155991/