• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Level Up - Different Button

Status
Not open for further replies.
Level 9
Joined
Dec 21, 2006
Messages
490
hi

i am trying for hours now and can't make it work. On each level up the button for a skill should change (mainly because of the tooltip) . That skill is triggered so i cannot make it a dynamic tooltip.
I even tried with requirements to add a dummy behavior on each level (max number increased) but it doesn't work
 
Level 2
Joined
Mar 7, 2011
Messages
16
Is the "skill" an ability or an attribute or a behavior or all trigger?
Are you leveling up the skill with a separate trigger or an ability?
Is the icon you wish changed in the command card like blink or burrow?
or on the selection display, like terran infantry armor level 1?

I apologize if this blunt approach comes off as rude, but the editor has many facets.
I just want to diagnose the conflict before advising on the method to resolve a
problem you don't have, instead of the one you do.
 
Level 2
Joined
Mar 7, 2011
Messages
16
Try making an Upgrade, I suggest looking at an active upgrade like burrow.
Also looking at how the weapon/armor upgrades set levels may help.
Add a "run trigger" action at the end of your "skill level up" trigger.
It should run a trigger that has an action of "set upgrade level for player".
You may need events and conditions so it doesn't go off at the wrong
time though. or you could turn it off/on with the first trigger. So it only
fires when you want it to.
If it is stitched up nice it should do everything you need it to.
I couldn't find anything directly linking to command card icons, even
"Set unit property" only affects a few data fields on the unit.
 
Last edited:
Level 2
Joined
Mar 7, 2011
Messages
16
Sorry for the late reply, things have been a little sketchy outside irl for my family lately. Like that's an excuse. :xxd: Each level of an upgrade will need a button. In the upgrade you set the button for that specific level.
 
Level 9
Joined
Dec 21, 2006
Messages
490
thx for the answer but i still don't get it.
using Upgrade-Effects : Buttons

since there is no button if i am using Abilities as upgrade-effect. Blizz doesn't have one upgrade that uses Buttons as Upgrade-Effects, maybe it doesn't work alone...
and blizz added Levels for the upgrades but doesn't use this?!?! they created for each level a new upgrade.
how do i connect the upgrades to the buttons?
level 2 must somehow be connected to level 1
can you explain it for a dummy

my skill is an instant effect ability with no effect, it actually just runs a trigger.

-------------------------EDIT--------------------------------------------

i found a solution, it's an ugly one but it works well. i am using the catalog actions to change the tooltip of the buttons. just have to save every single string inside a global variable with array.
example: VARIABLE[SkillNumber][Level] = Level X
VARIABLE[5][3] = Level 3 and ability 5

for each int 1-Numbers of Skills

set catalog
 
Last edited:
Level 2
Joined
Mar 7, 2011
Messages
16
First off, don't ever think you're a dummy, that's simply a quick road to certain failure. I apologize for misinterpreting your data conflict.

Sadly, your array fix is probably going to have to be the way you go. Since buttons are just art for abilities, not the other way around. I would like to see your map when it is finished though, to better understand how you intend to apply this approach to upgrades in-game.
Good luck.
 
Status
Not open for further replies.
Top