Problem: Drawing Yanfly's JP in alternate menu plugin

● ARCHIVED · READ-ONLY
Started by vs_rene 3 posts View original ↗
  1. Hello everyone!
    I have a plugin / JS related question that no matter how much I tried I haven't been able to solve...

    I am using SmRndmDde's alternate menu plugin "BustIcons" which is amazing, and I've customized it to a point that I like removing the message bar at the top or removing the text displaying the job class, and now the last piece of the puzzle is to show the JP from Yanfly's JobPoint plugin in the location where the class was.

    I found the spot and also the command from Yanfly's plugin to draw the JP, but when I start the game it just shows a blank line. The menu works (so no error) but it doesn't display the JP. I've tried to change the order of the plugins in MV as well, but no change.

    Does anyone have an idea how I can access the JP from Yanfly's to show them here?

    upload_2018-10-14_21-48-51.png

    upload_2018-10-14_21-54-16.png

    Right above the HP is the spot in question.

    Thank you SO much for any advice, I'm really bad at JS...
  2. This post is quite old, but oh well, I'll reply anyways xD

    Add:
    var classId = actor.currentClass().id;

    Then in the drawlines, it should be like this:
    this.drawActorJp(actor, classId, x, y + lineHeight * 3, width);
  3. We normally don't allow necroposting, but seeing as this never got another answer, I'll allow it this time. However, I'm seeing this slipped by us and needs to be moved to Plugin Support.