Warcraft III resources & community, 2003–2006 · archived

AI spells

5 posts
#1

AI spells

how can you get a unit AI to use a certain spell very, very often?
#2
order it to cast its spell when its attacked or a unit comes withing range or when it attacks etc
#3
I think hes asking **how do you do that**.. well at least I am :P

Im trying to make my "boss" use spell abilities but I can't get him to do it and I don't know how :P

If you can help me thanks
#4
well i trying to get my boss to annoy the player by casting sleep very offen. i aready know how to triger it but i was hoping there was a way to do that by just changing something in the spell.
#5
go to 'order string - use/turn on' change it to a spell thats used alot (when u give it the chain lightning string, it uses the spell when there r at least 8 enemy units nearby) but i dunnoo if theres a spell thats cast very fast. just make a trigger that orders the boss to cast sleep every XX (cooldown time) seconds on a raondom unit within XXX range (Cast range)