Problem: Drawing Yanfly's JP in alternate menu plugin

asanogaijin

creating Valiant Souls
Member
Joined
Mar 4, 2018
Messages
11
Reaction score
13
First Language
EN, JP, GER
Primarily Uses
RMMV
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...
 

Kyrim

Warper
Member
Joined
Jan 3, 2019
Messages
2
Reaction score
2
First Language
ID, EN
Primarily Uses
RMMV
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);
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,038
Members
137,568
Latest member
invidious
Top