Hi, I'm currently creating a custom campaign of my own and I'm wondering how do I make a button change its damage shown when a hero levels that skill. For example, I have created a snipe ability where the damage increases each time you spend an ability point, but the damage change doesn't show up on the button you see in-game. There are 3 effects for the ability, the first being Snipe Level 1, Snipe Level 2, and Snipe Level 3. I want the button to show the current value of damage done at the current level you have. I know how to use the d ref damage on the button, but I'm not sure how to change the effect shown. Is there some way I can only use one button to show all 3 levels, or do i need to create a button for each level (and if so how do I link it to each effect)?
Use Command Card - Level Button - Image, Command Card - Level Button - Name and Command Card - Level Button - Tooltip to change the ability button and Command Card - Learn Button - Image, Command Card - Learn Button - Name and Command Card - Learn Button - Tooltip to change the learn button. Important point is that the first entry changes the button at level 2 and so on.
Alright. I did that, but do i need 3 buttons? Levels 2 and 3 show up with the title and nothing else. If so should i put the buttons on the unit or the ability?
I did something a bit more simple. As I only needed 1 hero for each player, I made an upgrade with the amount of levels of the ability, and made it increase the damage of the effect by the amount I wanted. Then I made a trigger that set the upgrade to the level of the ability of the hero, upon learning it.
You only need 1 button and the ability should automatically change when the ability is leveled. What do you mean by the button only had it's title and nothing else?
Alright. I figured it out with your help, spoolofwhool. What you need to do is create a text tag and a tooltip on the command card of an ability. This does not apply to the first button if it has a tooltip, but it does for the second and ladder levels. Thank you for your help.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi, I'm currently creating a custom campaign of my own and I'm wondering how do I make a button change its damage shown when a hero levels that skill. For example, I have created a snipe ability where the damage increases each time you spend an ability point, but the damage change doesn't show up on the button you see in-game. There are 3 effects for the ability, the first being Snipe Level 1, Snipe Level 2, and Snipe Level 3. I want the button to show the current value of damage done at the current level you have. I know how to use the d ref damage on the button, but I'm not sure how to change the effect shown. Is there some way I can only use one button to show all 3 levels, or do i need to create a button for each level (and if so how do I link it to each effect)?
Use Command Card - Level Button - Image, Command Card - Level Button - Name and Command Card - Level Button - Tooltip to change the ability button and Command Card - Learn Button - Image, Command Card - Learn Button - Name and Command Card - Learn Button - Tooltip to change the learn button. Important point is that the first entry changes the button at level 2 and so on.
@Spoolofwhool: Go
Alright. I did that, but do i need 3 buttons? Levels 2 and 3 show up with the title and nothing else. If so should i put the buttons on the unit or the ability?
I did something a bit more simple. As I only needed 1 hero for each player, I made an upgrade with the amount of levels of the ability, and made it increase the damage of the effect by the amount I wanted. Then I made a trigger that set the upgrade to the level of the ability of the hero, upon learning it.
You only need 1 button and the ability should automatically change when the ability is leveled. What do you mean by the button only had it's title and nothing else?
I mean that the button shows up with "[Level 2] [R]" and not the tooltip i typed in.
Alright. I figured it out with your help, spoolofwhool. What you need to do is create a text tag and a tooltip on the command card of an ability. This does not apply to the first button if it has a tooltip, but it does for the second and ladder levels. Thank you for your help.