Display number of items held

Okay, so I have a character who combines items as a part of his skill. The description of each skill also lists the number of items required to perform the skill.

Now, I used a variable call to list the number of items held in the description i.e.:

An exposive force.

Requires: Gunpowder x2 (\v[11]), Magnesium x1(\v[12])

 

Whereas each variable number is set to the number of that item held. And that works just fine. EXCEPT! It doesn't update in battle, and it only updates in the menu if you back all the way out.

 

Any way I can get it to update immediately after you use the item? I mean the number of items held updates in your item list every time you use one, so I'm assuming it's certainly possible, but then again maybe I have no idea what I'm talking about. 

 

Thanks for any help you can provide!
Sounds like what you're looking for a skill like Mix like FFV or 10. Are you comfortable using scripts?
You need to run a parallel process common event, where it keeps refreshing the variables. Put a "wait" of 60 frames and it should still be fast enough, but not slow down your game.
That did it. I had tried that before, but without the wait and it had no effect. Thanks a lot!
alternatively, Shaz made a script a while ago that assigns the general variables of your choice and keeps them constantly updated by scripting - you might consider that if the lag from the parallels becomes too large.


The script is in the forum somewhere, I don't have the link ready at the moment.
Even better Mr Bubble has a mix script that works exactly how you want.

http://mrbubblewand.wordpress.com/rgss3/ff5-mix/
I've got the mixing down, just needed the numbers to show up.

Original thread: https://forums.rpgmakerweb.com/threads/display-number-of-items-held.23602/