Yanfly - JP Manager script - Help.

Dark_Metamorphosis

What a horrible night to have a curse.
Veteran
Joined
Nov 23, 2012
Messages
2,192
Reaction score
382
First Language
Swedish
Primarily Uses
So got most of everything ready for my game, but I hit a roadbump since I can't get this script to distribute JP points.

The script is using notetags, like many other script I'm using so shouldn't be a problem at all, but they just won't work and I can't understand why.

So in order to set the amount of jp a certain enemy shall distribute to the party, you put a <jp gain: x> in the enemy notetag and everything should be ready to go. When I playtest though, the enemy won't register the JP gain so I thought it might be a script clash. Decided to see if the script calls work in order to distribute JP and that works like it should. I do have several other scripts from Yanfly and they all work fine, and it seems weird that this should clash since it's only teamed up with the Learn skill engine (which also works without any issues whatsover).

Here's the link to the script:

Script

And here's how I set it up in my project:

Skärmklipp 2015-03-19 21.07.29.png

Any takes?

Thanks.
 
Last edited by a moderator:

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
That's exactly how it is set up in my game and it works fine. However, Yanfly never set it up so that the game shows you how much JP a character has, until they go to learn a skill. So, it might be that you are learning the JP, but cannot tell as it is not enough to learn a skill.

Try it with the JP learned set to say 9999 (which should be enough to learn a skill), and then go and try to learn a skill.
 

Dark_Metamorphosis

What a horrible night to have a curse.
Veteran
Joined
Nov 23, 2012
Messages
2,192
Reaction score
382
First Language
Swedish
Primarily Uses
That's exactly how it is set up in my game and it works fine. However, Yanfly never set it up so that the game shows you how much JP a character has, until they go to learn a skill. So, it might be that you are learning the JP, but cannot tell as it is not enough to learn a skill.

Try it with the JP learned set to say 9999 (which should be enough to learn a skill), and then go and try to learn a skill.
I'm using an add-on (small snippet) that shows the current JP in the menu, when I distribute the points by a script call the JP shows. If I do it by notetags, they don't. 

I have also tried to learn the skill after beating an enemy that will give me enough JP to learn a skill, but it won't register.

I just find it weird that the script calls work, but not the notetags. It might be something that's messing up the notetags somehow, but It's really weird since every other notetag works fine.

Guess I just have to take out script byt script and see if anyone of them is causing the error. I just had to make sure that I set it up properly, but since it works like many other scripts I'm using I thought that wouldn't be the case.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
Weird. Maybe try putting the notetag at the top? Though if that fixes it, then chances are some other notetag is not going to be read later on.

For reference, here is my exact call on the slime:

<jp gain: 1>

It's worked so far.
 

Dark_Metamorphosis

What a horrible night to have a curse.
Veteran
Joined
Nov 23, 2012
Messages
2,192
Reaction score
382
First Language
Swedish
Primarily Uses
I found the culprit :)

It was a battle screen script I'm using that caused the problem. Seems like it wont work without yanflys own battle screen, or the default Ace one.

This can be closed, sorry for the inconvenience.

Just wanted to make sure that I put everything in as it should be.
 

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,865
Messages
1,017,059
Members
137,574
Latest member
nikisknight
Top