• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Enemy units not casting spells

Not open for further replies.
Level 3
Dec 20, 2007
I feel like an idiot for having to ask this, but I'm having problems where computer controlled units are not casting the spells I gave them. For example, I gave an ogre mage rejuvination and polymorph (both unmodified) and set rejuvination to the default active ability. They have enough mana to cast the spells, but they never do. Also, the computer is set to player 12, if that helps.
Level 24
May 9, 2007
No, no no.

To make a unit cast spell you have to use custom triggers.
For the "defualt active ability" is just what autocast ability is activated to start.

make a trigger something like this.

Unit attacks:

Order unit (attacking unit) to polymorph triggering unit.

This will make it so that whenever it is cooled down it cast the abilty.

For more detials look at the AI section.
Not open for further replies.