• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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,198
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