• 🏆 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!

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