Hello guys, first thread here, need some javascript help.
I'm using RMMZ and i have the following plugins active:
I think what i need to do involve only the MainMenuCore and the SkillLearnSystem.
With the SkillLearnSystem i created AP (Ability Points) in which my characters uses to learn skills.
But right now the only window in the main menu that shows how much AP they have is in the OWNED in the Skills > Learn window:
And i want AP to be shown here right next to Energy:
In the help section of the SkillLearnSystem, in the very end, they wrote this:
"For those who wish to display how many Ability Points an actor has for a
specific class, you can use the following JavaScript code inside of a
window object.
this.drawAbilityPoints(value, x, y, width, align);
- The 'value' variable refers to the number you wish to display.
- The 'x' variable refers to the x coordinate to draw at.
- The 'y' variable refers to the y coordinate to draw at.
- The 'width' variable refers to the width of the data area.
- Replace 'align' with a string saying 'left', 'center', or 'right' to
determine how you want the data visibly aligned.
this.drawActorAbilityPoints(actor, classID, x, y, width, align);
- The 'actor' variable references the actor to get data from.
- The 'classID' variable is the class to get data from.
- Use 0 if Ability Points aren't shared or if you want the Ability
Points from the actor's current class.
- The 'x' variable refers to the x coordinate to draw at.
- The 'y' variable refers to the y coordinate to draw at.
- The 'width' variable refers to the width of the data area.
- Replace 'align' with a string saying 'left', 'center', or 'right' to
determine how you want the data visibly aligned."
Maybe this is exactly what i need??
I understand that Vigor, Will and Energy bars will need to be realocated left and the AP value drawn, but i dont have a clue how to do it.
It might be pretty simple or very hard, but if someone could help me, i would trully aprecciate.
This is pretty much the LAST thing i need to fully customize my UI, please help a brother out?
Thank you very much, and however solve my problem, i will happily send a free copy once my game is finished <3
Any doubts, please ask and i will try to explain better...
I'm using RMMZ and i have the following plugins active:
I think what i need to do involve only the MainMenuCore and the SkillLearnSystem.
With the SkillLearnSystem i created AP (Ability Points) in which my characters uses to learn skills.
But right now the only window in the main menu that shows how much AP they have is in the OWNED in the Skills > Learn window:
And i want AP to be shown here right next to Energy:
In the help section of the SkillLearnSystem, in the very end, they wrote this:
"For those who wish to display how many Ability Points an actor has for a
specific class, you can use the following JavaScript code inside of a
window object.
this.drawAbilityPoints(value, x, y, width, align);
- The 'value' variable refers to the number you wish to display.
- The 'x' variable refers to the x coordinate to draw at.
- The 'y' variable refers to the y coordinate to draw at.
- The 'width' variable refers to the width of the data area.
- Replace 'align' with a string saying 'left', 'center', or 'right' to
determine how you want the data visibly aligned.
this.drawActorAbilityPoints(actor, classID, x, y, width, align);
- The 'actor' variable references the actor to get data from.
- The 'classID' variable is the class to get data from.
- Use 0 if Ability Points aren't shared or if you want the Ability
Points from the actor's current class.
- The 'x' variable refers to the x coordinate to draw at.
- The 'y' variable refers to the y coordinate to draw at.
- The 'width' variable refers to the width of the data area.
- Replace 'align' with a string saying 'left', 'center', or 'right' to
determine how you want the data visibly aligned."
Maybe this is exactly what i need??
I understand that Vigor, Will and Energy bars will need to be realocated left and the AP value drawn, but i dont have a clue how to do it.
It might be pretty simple or very hard, but if someone could help me, i would trully aprecciate.
This is pretty much the LAST thing i need to fully customize my UI, please help a brother out?
Thank you very much, and however solve my problem, i will happily send a free copy once my game is finished <3
Any doubts, please ask and i will try to explain better...