• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[General] AI Triggers: Learning Hero Abilities

Status
Not open for further replies.
Level 8
Joined
Oct 19, 2008
Messages
168
What do you guys think is the best way to get custom AI heros to individually learn their abilities?

It's going to be for more than 20 heros so manually putting in each ability at each level will take too long.

My attempt:
HeroType(1) = Mage
AbilityStrong(1) = Blizzard
AbilityMedium(1) = Aura
etc..

Then
Event: hero levels up
For each integerA 1-However many heros I have
Increase lvl of AbilityStrong(IntegerA)

But i guess that increase lvl trigger works for units, not heros.
And I can't use the Hero Learn Skill because it doesn't let me use preset variables

Fixes or new ideas would be much appreciated
Thanks!
 
Instead of what are you doing, just add the ability via trigger and then level up when it is supposed to be leveled up, so it would look like if it was learned but it wasn't. But that is what you want, also if you have, share a map to take a look.
 
Are you gonna make only 1 skill-build for each AI-controlled Hero ?

No i got it, it's gonna use one trigger to level up the abilities for as many heros as i like, which randomizes based on whether players select hard, medium, or normal mode, and then if two ai heros are the same on the same mode, they will also be randomized.
 
Status
Not open for further replies.
Back
Top