• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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