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

Store Abilities

Status
Not open for further replies.
Level 2
Joined
Apr 13, 2011
Messages
13
Hello guys.

I'm creating an generic AOS map, in vJass for learning.
And well, I'm trying to create a Generic AI for heroes that I create.

Problem is....I need to put each ability for each hero to learn at levelup.

I've tried to minimize this by putting the abilities as "globals" on the namespace, like Ab1,Ab2,Ab3 etc.

Doing this, I would have to change only once , not every level.
BUT I discovered that I can't use abilities variables in the learning action(At least as far as I know, that's why I'm posting here :ogre_haosis: )

My question is... Is there a way to put abilities in variables to make a generic learning trigger, or a way to make the hero learn the 4 "default" hero abilities without having to manually input each one of them in the trigger ???


Sorry for my english, not my first language :grin:

Thank you all!!!
 
Status
Not open for further replies.
Top