• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

how to make a computer-controlled Hero learn an ability immediately after he/she/it comes out of an altar?

Status
Not open for further replies.
Level 5
Joined
Oct 29, 2020
Messages
82
I know how to make a computer-controlled Hero learn an ability when the level of the hero is equal to 2 or greater than 2, but I don't know how to do this when the level of the hero is 1. Could someone help me?
 
Level 5
Joined
Oct 29, 2020
Messages
82
Catch when a unit finishes training, check if the trained-unit is a hero, and then order it to level up the desired skill.
  • Events:
  • Unit - A unit Finishes training a unit
  • Actions:
  • Hero - Learn skill for Trained unit: Blizzard
Thank you. I'll try it.
 
Status
Not open for further replies.
Top