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

Trigger

Status
Not open for further replies.

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,893
  • Actions
    • For each (Integer A) from 1 to 4, do (Actions)
      • Loop - Actions
        • Hero - Learn skill for (Triggering unit): YourSkill
Set 4 to the max level of the ability. Make sure your Hero has enough Skill Points to spend or this won't work.
 
Level 2
Joined
Mar 9, 2021
Messages
8
not working...
 

Attachments

  • jpeg1.jpg
    jpeg1.jpg
    235.9 KB · Views: 22

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,893
Edit: Works fine for me.

Understand that this is using the normal Warcraft 3 mechanics. That means there's the possibility of Level Skip Requirement and the Hero has to actually have Skill Points in order to level up the ability.

If you're going to trigger this yourself then there's no reason you have to use the normal mechanics. You could instead do something like this:
  • Example 1
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Keeper of the Grove
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Force of Nature for (Triggering unit)) Equal to 0
        • Then - Actions
          • Unit - Add Force of Nature to (Triggering unit)
        • Else - Actions
          • Unit - Increase level of Force of Nature for (Triggering unit)
This won't learn the Skill using Skill Points and will instead Add the ability to the unit.

From there you can Set it's level to anything.
  • Unit - Set level of Force of Nature for (Triggering unit) to 4
 
Last edited:
Level 2
Joined
Mar 9, 2021
Messages
8
Now is working the hero chose random "when" he want to use the skill learned !!! yes is normal map thanks very much!!!!
 
Status
Not open for further replies.
Top