Hey there :)
Two things:
1- Bug Report (I think)
Plugin: YEP_X_ActorVariables
Error & How to Reproduce: I created a Variables page using the plugin (and gave it the name "Stats" using the plugin params). I wanted it to come before the General page, however, so I went to YEP_StatusMenuCore and edited the respective parameter to be like this:
VARIABLES GENERAL ELEMENTS ...
But when I tried to test it, the "Stats" command did exist but was showing the same screen as the General page. I've tested several times but the only time I could make the Variables page appear and work properly was using the word "Custom" on the YEP_StatusMenuCore ordering parameter. But "Custom" also brings forth other two pages I didn't want at the top (Statistics and Profile), so I went to check the script...
Problem & Fix (?): I'm still learning the basics on Javascript, but I decided to look for the function that created the CommandWindow commands so I could check out why it would only work when using the "Custom" word and not "Variables".
When I found them, I noticed that there were 2 functions, one checking for each word, but their actions to create the command were different. On line 323, I found the creation of the command for when the word "Custom" is used:
this.addCommand(text, 'actorVariables', true);
And on line 311, a little above, I found the same command for when "Variables" is used... It is slightly different, though:
this.addCommand(text, 'Variables', true);
I've then changed the 'Variables' part to 'actorVariables', like on line 323, and when I tested it worked fine. So I asume it's just a little typing mistake, not really a bug :D Or perhaps I messed it all up but somehow it ended up working? :p Anyway, I hope it helps :3
2- Request/Help wanted
The second thing now... I'd really appreciate if someone could help me with this one :)
Like stated above, I'm still trying to figure out Javascript and so far I have not been able to accomplish what I'm trying. It's supposedly simple (I guess) but I can't make it work >.<
I'm using both YEP_ClassChangeCore and YEP_X_Subclass on my "learning project". I've decided to create characters with fixed main classes and variable subclasses (like 'jobs') that change according to the weapon you equip. So no manual class changes here. I blocked the player's ability to change class manually through the Plugin Params but now I need to create a note for Items (specifically Weapons) to change the subclass when equipped. Something lik <Change Subclass: x>
I'm having a tough time understand how to edit/create notes, however. There's already a change subclass function on the script, it's called through plugin commands, though :(
I'd need it called by a Weapon note and without needing to specify the actor (being the actor the one who equips the weapon). Would it be much trouble?
I'd really appreciate any help or advice!
Thanks,
Dani
Ah, you're right. That was a mistake on my part. I'll get that updated for tonight! Thanks for the catch!
As of now, there's currently nothing that prompts code to be ran when equipping a piece of gear. The best way as of current is to have it change subclasses is via parallel process and plugin commands after checking the weapon equipped.
BTW, Yanfly, is there any noteworthy difference between Turn Start and Action Start for states under CTB? There doesn't appear to be. I've actually modified when battler.onTurnStart() is called due to this, so Turn Start actually causes states to wear off at, y'know, the start of a battler's turn instead of their action.
Turn Start triggers once per turn. Action Start triggers once per action. Under default circumstances, you wouldn't experience anything different. However, in the event of an Instant Skill, it will trigger Turn Start the first time but not the next action after. For Action Start, it triggers each action.
However, seeing as this is a topic of confusion for many, I'm considering moving the timing to when the action window first appears. :/
Everything you've been asking
First off, do you have all the plugins updated? If you left it as default and it ends right away, then most likely you haven't. Go check to see if your Battle Engine Core is up to date as well as everything else.
http://yanfly.moe/yep/changelog/