• 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!

AutoLearn hero abilities

Status
Not open for further replies.
Level 1
Joined
May 15, 2016
Messages
4
Hi!
Pls give advise how to code heroes learning THEIR spells on lvl up WITHOUT BIG UGLY triggers like:
Code:
- levelling hero
------------------
- if race
- if heroclass
- if lvl
etc
- learn HARDCODED ability name

I don't want to hardcode anything.
How to get skills available for current hero in trigger?
Thank you.
 
Please, read carefully.
How to get skills enumerated in available skills for current hero?
example:
Archmage got lvl 2
I DONT WANT TO KNOW(HARDCODE) if he's archmage or not and what abilities he had.
I want this function to work with any hero, something like that(pseudocode):
Code:
- for 1 to FreeSkillPoints do
- Learn random skill(A WAY TO GET SKILL LIST)
Same question, how to get AVAILABLE SKILLS for current hero in trigger?
 
Status
Not open for further replies.
Back
Top