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

ability to activate at hero level 6

Status
Not open for further replies.
Level 9
Joined
Apr 23, 2011
Messages
527
IIRC, wasn't there an event Unit - A hero gains a level? If there is:

I'm going to assume your ability's effect is through triggers.
Compare the integer level of the hero if it is = 6, if so, enable the trigger for that ability/make unit cast the ability if you want it casted as soon as the hero hits 6.

If the ability effect is not triggered, the ability that should be leveled should be a dummy ability which does nothing. After hero gains level 6, replace that ability with the one that actually works.
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
If each player only has 1 hero this logic should be applied to there is another solution You can use a techtree upgrade for the ability called "Level Six" that starts unresearched for all players. When their hero becomes level 6, set the upgrade to researched with the trigger action. Until you set the research the ability will be visible but darkened and unclickable.
 
Status
Not open for further replies.
Top