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

Learn ability for hero

Status
Not open for further replies.
Level 2
Joined
Jan 15, 2005
Messages
24
My hero only has 1 ability thourough the game but, whenever it reaches a certain lvl, it would be like level 10, how would i put it so, that it learn a new custom spell added to its list. Learn Skill at level 10.
It would automatically be added at level 10.
 
Level 5
Joined
Jul 20, 2004
Messages
156
Heres a trigger that should work:

Events:
Unit reaches lvl 10
Conditions:
Unit equal to (your unit)
Actions:
Unit - Add (your ability) to (your unit)

OR

Events:
A unit gains a level
Conditions:
Leveling unit equal to (your unit)
Level gained equal to level 10
Actions:
Add ability (your ability) to (your unit)

It should be something around those lines... PM me if you want a more exact trigger.
 
Level 2
Joined
Jan 15, 2005
Messages
24
ah I see, I knew I missed a part of the trigger, Ill try it that way then, see how it works thankz. Yes it works , forgot to add that condition heh thx lord
 
Status
Not open for further replies.
Top