• 0

    posted a message on updating a tooltip value when stats increase

    Thanks for the pictures and the time spent trying to answer, but I believe I didn't explain my question. I'm not talking about simply listing a stat. I'm talking about updating that stat as the game goes on. I imagine it requires some formula (like base regen + regen bonus*number of stats). I don't know where to find value of the stat on the character. Let's say the stat Endurance increases health regeneration by 1 for every point of it, and the hero has a base regen of 2.

    Hero lvl 1 Health Regen 2 Endurance 0

    Hero lvl 2 Health Regen 3 Endurance 1

    I'd like to list the actual value as it dynamically changes in game.

    Posted in: Data
  • 0

    posted a message on updating a tooltip value when stats increase

    Let's say I have a unit that has a health regen value of 2, and he also has a stat that increases his health regen by 1 every time he gains a point in it. I know how to display the initial value and the value that is gained, but I don't know how to update that value in a tooltip as the character is leveling. I'd like to be able to hover over a tooltip and it read "health regen is 4" if he has 2 points in the health regen stat, for example.

    Posted in: Data
  • 0

    posted a message on Ranking Up Abilities with New Abilities

    Thank you! I got it working.

    Another question. Let's say I wanted to give the player the first rank of an ability automatically, then hide it and show it again through triggers. I have all the triggers working, but it won't show level 1 of an ability without first putting a point into it. Any ideas? Is there a setting I'm missing?

    Edit: My guess is that I could duplicate an ability and give that to the player as rank 1. Then, when they upgrade the same ability, through a trigger, hide the "rank 1" of the ability and let rank 1 of another ability be rank 2. But then it'll still say rank 1 on the button... unless I can disable that?

    Posted in: Data
  • 0

    posted a message on Ranking Up Abilities with New Abilities

    I'm doing the usual thing where you upgrade abilities on your hero. However, I'm having some trouble figuring out how to update the buttons for the new ranks. I'd like each rank of the ability to have its own description of its stats, and also change the cooldown/cost/behavior/effect. I did this by creating new abilities for each rank of the ability.

    My problem is that when I level up the ability, the new rank does not appear in place of the old button, and I cannot figure out why. The tutorials out there that deal with this do not use multiple abilities, rather, they attach multiple effects/behaviors to one ability. The drawback is the tooltip on the buttons do not update with new stats, and you're limited to what you can change with each upgrade (I believe, I could be wrong).

    My approach may be wrong, and I might be able to update tooltips without adding new abilities. Whatever the case, can anyone help?

    Posted in: Data
  • To post a comment, please or register a new account.