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

How do I make heroes have already learned abilities?

Status
Not open for further replies.
Level 2
Joined
Jul 4, 2018
Messages
10
Hey guys .I need help again. >.<
How do I make a hero with learned abilities and that the player doesn't have to click on the abilities to learn them himself.???
 
Level 20
Joined
Jun 27, 2011
Messages
1,868
You can do that with triggers:

  • Level Up
    • Events
      • Unit - A unit Gains a level
    • Conditions
    • Actions
      • Unit - Set level of Summon Water Elemental for (Triggering unit) to ((Level of Summon Water Elemental for (Triggering unit)) + 1)
It's a crude example but you get the idea.
 

Attachments

  • Level-Up.w3x
    13.1 KB · Views: 30
Level 20
Joined
Feb 23, 2014
Messages
1,265
Something like this:

  • Events
    • Unit - <HERO> Gains a level
  • Conditions
  • Actions
    • Hero - Learn skill for <HERO>: <SKILL>
And yes, I've tested - it works perfectly fine for increasing the level of a skill that is already known :)
You can also do it with Generic Unit Event and conditions.

  • Actions
    • Unit - Set level of Summon Water Elemental for (Triggering unit) to ((Level of Summon Water Elemental for (Triggering unit)) + 1)
If you're going for this method, you should also use this action to remove unspent skill points:

  • Actions
    • Hero - Modify unspent skill points of <HERO>: Subtract 1 points
 
Last edited:
Status
Not open for further replies.
Top