Hi there
@Jragyn ! I have just downloaded your ca-master but when I try to run it to test it out I get:
syntaxError Unexpected token '='
Any clues?
I apologize, I haven't updated this post to point to the correct link, but have made a multitude of updates to the plugin.
The original post of this thread has been updated to point to the correct release.
It should be the same one as my JABS plugin (just one big demo that shows it all off).
Noticed that when I select ''Cancel'' with the mouse it still acts as if I selected ''Upgrade this panel''
That is unusual, but I have not done anything special regarding the mouse. If the mouse is not working as expected, I suspect it may be a deeper rooted RMMZ issue.
Is it possible to force an actor to upgrade a panel through an event?
It is possible, though not explicitly called out because it wasn't a depth of functionality that I've tested nor encourage (as this is a user-driven system rather than an event-based system). If you want to force an actor to rank up one of their already-obtained panels, you can use:
JavaScript:// in a script call, the syntax goes:
SOME_ACTOR.rankUpPanel(PANEL_KEY);
// where SOME_ACTOR is a reference to the actor.
// where PANEL_KEY is one of your predefined panel keys.
// example:
$gameParty.leader().rankUpPanel("GHO_1");
// example:
$gameParty.actors(1).rankUpPanel("HERO_3");
Keep in mind if the party does not have the given panel unlocked, it will most certainly throw an exception and likely crash the game. Use with care.
Would it be possible to have panels to be character-specific
This would require a significant rewrite of the way panels are managed and stored.
I do not intend to build this functionality- the current state is that it is
the party's panels.
However, I'm sure if you find a bold enough developer to dive in, the code is relatively readable and with some knowledge of the RMMZ codebase and how to write javascript, it is very possible.