Display party's remaining gold in the Skill help description window?

● ARCHIVED · READ-ONLY
Started by ddblue 6 posts View original ↗
  1. Hi everyone.
    I have a skill that uses gold, so I want to show the party's remaining gold in that skill's description during battle.

    So during battle when you highlight this skill, it should say:

    This is a cool skill.
    Remaining Gold: <variable>

    Where <variable> is the party's remaining gold.

    I set a variable to the party's gold, then use \V[variable_id] in the text box to display it, but it just says the amount of gold the party entered the battle with, and never updates (even if I add Control Variable: Party gold every turn of the battle).

    Am I missing something? Is there a way to do this? If it worked like regular message boxes worked, then
    Remaining Gold: \V[15]
    would work, but for some reason in battle it doesn't.

    Any advice would be appreciated.
  2. I actually use this, and it works great for making my skills cost gold and for letting me customize how their costs are displayed, but it doesn’t give me a way to show how much gold is remaining during battle.

    This plugin works great, but I’m looking for a way to tell players how much gold they have left during battle in the skill help text.
  3. Ah, I did not realize that it didn't display it. I'll try to dig around in a bit to see if I can figure something out.

    *Edit*
    I could be very wrong about this, but perhaps the gold value may not update during battle, which is why it displays the amount from entering the battle?

    Have you tried using \$ to have the gold window pop up and see if that has updated? I am not around the program right now to add the mods to try it, but it may help you with troubleshooting.
  4. Yep and you are totally right. I can confirm that it reads the variable correctly at battle start, but never updates - even if I force it to in each turn in the troop menus.

    I have since solved this issue using a plugin called Way Core (here on the forums). It has a sub plugin that allows me to enter javascript directly into any window, and that solved my problem. Thank you!
  5. Glad you found a fix!