Warcraft III resources & community, 2003–2006 · archived

AI for custom heroes

4 posts
#1

AI for custom heroes

hey guys
I'm making a footman wars map with AI, coz i hate the ones where u need 8-12 real players for it to be even remotely fun. So, i used (and modified) the triggers on the maps section of the forum to make the footies attack towards the centre/towards bases etc. But each race has a hero, which the AI just uses as a normal unit: they dont learn abilities or use them.
Hmm. Anyone know how to work this?
There are 36 heroes, all with custom abilities, and i'm a competent triggerer although i don't know any JASS.
:). Help much apprectiated
=][= Bort
#2
Hmmm I think you have to modify the abilities that they learn. I think they will use it after they learn it. For example, they can have a custom hero, but the AI is only using the normal heroes of their race. I think that's the solution.

-Rui
#3
just make an event where a unit gains a level, and actions to make the unit learn an ability. try searching under hero-
#4
You can also solve it by giving the hero an ability when he levels up and using triggers to make the skill activate on chance when he is attacked or attacks.. Hope this helps..