• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Ability Cast

Status
Not open for further replies.
Level 5
Joined
Apr 1, 2010
Messages
107
I believe you have to order the AI to cast it. If you've based it off of channel, it won't work (correct me on this.) In addition, make the spell function with how its base spell worked. If you based your lightning ball off of storm bolt, the AI should cast it as long as it's fighting an opponent.

Make sure the AI has enough mana, too, in order to cast it.

Also, you say you added the ability to the skill? I'm a bit confused on that.
 
Level 11
Joined
Nov 15, 2007
Messages
800
I assume you mean "Orb of Lightning (New)" which has a % chance to cast a spell on attack.

It's an unfortunate bug with WC3 where it only works with direct attack orders. Thus, it won't work with computer controlled enemies with no AI, since they won't issue direct attack orders, their units will just auto-acquire targets.

You can fix it by setting their acquisition range very low and using a trigger that orders AI units to attack enemies that come in range. Or you could instead use a damage detection system and trigger the ability itself.
 
Status
Not open for further replies.
Top