• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 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