HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Remove Hero Ability Button?

10-09-2003, 04:33 PM#1
Sagan
On my map I have got an own Spell-System. The heroes don't get the spells through points or something, but dependent on certain events.
It is easy to stop the player from putting points into skills when I don't want him to, but how do I get the Hero Ability Button to disappear?
I know, that the Hero Ability Button disappears when the hero has no Hero Skills left or never had any Hero Skills.
I need to have the Skills multiple Levels, (8 Levels per Skill) so I can't change them into normal Abilities.
10-09-2003, 05:14 PM#2
Ligature
Only thing I can think of is filling up all 12 slots in the control card with other abilities and putting the Hero Ability button in the lower right corner.

But even that might not work. You could make it a black square by changing its graphic, and then write a trigger that goes

Events - Player clicks Hero Abilities button
Conditions -
Actions - Force user UI key (and I don't know the code for ESC... anyone know it?)
10-09-2003, 05:38 PM#3
Sagan
Thats not the problem. The problem is, that I need the used slot of the Hero Ability Button in order to have 7 Abilities.
10-09-2003, 05:58 PM#4
35263526
You can't get rid of it without removing all hero abilities. The Basic Command Buttons (which include Hero Skill) are placed with a higher priority than any other button (except for Patrol for some reason).
10-09-2003, 06:14 PM#5
ObsidianTitan
You could try not giving the hero any hero abilitys. Maybe a combimation of triggers, non-hero skills, and upgrades can make up false hero abiltys.
10-09-2003, 06:19 PM#6
Ligature
Quote:
a combination of triggers, non-hero skills, and upgrades


Yeah I think that sounds like your best bet.
10-09-2003, 06:52 PM#7
Sagan
Yes, that sounds good, but can you please give me an example (just one ability) how that would work? I have no idea where I should start and how I use upgrades to change Abilities.
10-09-2003, 09:54 PM#8
Mm_Dave
If you dont use custom abilities, do the following:
Dont give the hero any hero abilities in the editor. When the hero learns lvl 1 use trigger action unit - add ability. To level up the abilities use upgrades with ability level bonus.
10-13-2003, 04:32 PM#9
HyperNox
you can remove the hero ability button by replacing the hero with another hero that looks the same then change the skills on the unit, then relearn all skills, however all spells cooldowns will reset and that Is my current problem, How to restart cooldown if spell has cooldown?

or is there yet another way?