- 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 )
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
Thank you all!!!
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 )
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
Thank you all!!!