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

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