• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Solved] Neutral Hostile attacking magic automatically

Status
Not open for further replies.

felipeliberado

F

felipeliberado

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?
Abilities as thunder clap, lifedrain and cluster rockets.
 
Last edited by a moderator:
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.
 
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
 
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//\\
 
Yes, I have this habit of using 'Wait' action at all
xD
 
Status
Not open for further replies.
Back
Top