• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Get your art tools and paintbrushes ready and enter Hive's 34th Texturing Contest: Void! Click here to enter!

Hiding requirements for hero abilities

Status
Not open for further replies.
Level 14
Joined
Aug 30, 2004
Messages
909
I followed the tutorial to make heroes who can level up abilities. I used a requirement attached to the learn ability ability. This hides the ability when it levels up (I think) and greys it out so that you have to level twice before you can learn the ability again, i.e. like WC3 heroes you can't get Storm Bolt (level 2) until you hit level 3.

My problem:

At level 2, when you look at the greyed out Learn ability button you see the ugly looking requirement printed there saying something about CountAbility2, LevelUp .... etc. Basically it shows the requirement but the requirement isn't a nice string like, "Requires another level" or something like that.

Is there a way to hide the requirement?
 
Level 14
Joined
Aug 30, 2004
Messages
909
You should be able to localize that into readable text (like "Your hero must be a higher level to learn this"). I believe this is done in the requirements data but I am not sure how.

You are right, thank you. There are tooltips for each section of the Requirement. I tested a bit and noticed that if you put the tooltip in the first requirement node it will be the only one that shows.

Thanks again, will +rep as soon as I can.
 
Status
Not open for further replies.
Top