• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

How to show hidden abilities

Status
Not open for further replies.
Level 13
Joined
Oct 18, 2013
Messages
686
What do I change so that I can see the abilities: Move, Learn Hero Skill, Etc.

Edit: Also, why does this do absolutely nothing?
  • Custom script: set udg_SharinganMultiplier = ((GetUnitAbilityLevel(udg_Sasuke, 'A08G') + 220)/200)
    • Custom script: call SetHeroAgi(udg_Sasuke, R2I(I2R(GetHeroAgi(udg_Sasuke,true)) * (udg_SharinganMultiplier) + 0.05), true)
 
Last edited:
Level 13
Joined
Oct 18, 2013
Messages
686
Yeah, Idk if the only way is to edit them through CommandFunc.txt. If you can mess with them inside of WE I'd like to figure out how.
 
Level 13
Joined
Oct 18, 2013
Messages
686
Oh are they really? Like in the abilities tab? I was just curious with that :p My real question was the follow up one xD
 
Level 24
Joined
Aug 1, 2013
Messages
4,657
Maybe I get it from a different point of view.
They are not shown in the object editor because it is useless to change their properties.
However, you can change their hotkey, location in the UI, title, tooltip, icon, etc via the CommandFunc.txt and CommandStrings.txt
You can find some information about them if you search those terms on google.

About the custom scripts...
They should work.
 
Level 13
Joined
Oct 18, 2013
Messages
686
Thanks for answering. Yeah it seems the custom script would work to me too. Ah well.

Yeah I figured the only way to edit them was through text files in the map mpq.

Edit; I didn't explain what im trying to do with the custom script.
I set the Multiplier in a separate action because I'm multiplying it to current str and current agi (just noting for efficiency)
I am trying to have the multiplier x stat of hero, only converting it to integer after that operation is complete.
 
Last edited:
Status
Not open for further replies.
Top