• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Add a hero ability that is still level dependent?

Status
Not open for further replies.
Level 3
Joined
Jun 29, 2008
Messages
44
Its a simple problem yet I didn't find any solution for it. I want some heroes to start with an ability as learnt but unusable until they reach the appropriate level.

I appreciate any help.
 
Maybe make the ability require an upgrade, then when the hero reached X level, set the upgrade to finish so that the hero can use the ability. But the "upgrade complete" message would come up and it'd look ugly.

Another is to make two versions of the ability, one requiring an upgrade and one that don't require an upgrade. The hero starts off with the ability which requires the upgrade, but when the hero reaches X level, replace the ability that needs the upgrade with the other one which requires no upgrade.
 
When the ability is learned, check for the hero's level. If the level requirement isn't met, replace the ability with a passive ability (with passive icon) without the effect.
When the hero levels up, check which ability's requirements are met and replace those with the real abilities.
 
Status
Not open for further replies.
Back
Top