• 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.

[Solved] Neutral Hostile attacking magic automatically

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
I did a neutral hostile hero and I want him to use the spells only when I say, but the neutral hostile is using alone. How to delete this AI?
It is hard coded into the WarCraft III game engine. There is no customizable AI for it (Blizzard only added that feature to StarCraft II).

As a work around, you could try giving the unit mana. When you cast the abilities you give the unit enough mana to cast. After it is done casting it will have no mana so the AI cannot cast for you.
 
Level 2
Joined
Jun 13, 2011
Messages
5
It is hard coded into the WarCraft III game engine. There is no customizable AI for it (Blizzard only added that feature to StarCraft II).

As a work around, you could try giving the unit mana. When you cast the abilities you give the unit enough mana to cast. After it is done casting it will have no mana so the AI cannot cast for you.

Yes, I thought about it, but the boss will use various spells the neutral hostile uses alone.
I fixed it already.

Player - Enabled Cluster Rockets for Neutral Hostile
Wait 1:00 seconds
Order Tinker to Rocket Cluster Random Region
Wait 5:00 seconds
Player - Disable Cluster Rocket for Neutral Hostile

anyway thanks for the help
 
Level 14
Joined
Dec 12, 2009
Messages
1,027
You can try using Channel-Special as the base for the spell. As I recall, the AI never casts this on its own (without a trigger). This may be a tedious fix, however. You figured out the easy way of doing it. I don't think you need the wait commands though (most of the trigger masters I see here despise use of the 'Wait' action.

//\\oo//\\
 
Status
Not open for further replies.
Top