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

Auto cast issue

Status
Not open for further replies.
Level 4
Joined
Jul 30, 2010
Messages
57
The problem
I have a structure which can use the healling from the priest, sometimes when the structure trains a worker or upgrades, it forgets it has the ability and stops of using it. If is a human player controlling it, he just have to use it manually once and the structure will start to auto-cast the spell again but i want the AI plays with this structure too.
The question
How can i make the AI to remind it has that ability?
 
Level 23
Joined
Oct 12, 2008
Messages
1,783
Tried to replicate the same thing myself and so far Im guessing its because upgrading etc. is an order and hence only 1 order can be processed at a time.

What you can try to do is detect when the upgrade is finished.
Then manually add the heal to building via trigger.
See if that works.
 
Status
Not open for further replies.
Top