• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

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