• 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.

Help with Autocast

Status
Not open for further replies.
Level 4
Joined
Apr 25, 2009
Messages
74
Hay^^(and sry for my sucky english i hope you understand it~)

I used the Searchoption in the Forum, but i find nothing for my Problem...

The Problem is:
i want a Building which should cast a autohealspell on it self when it has enough mana(without giving the order), the building starts with 1 hp and should do this until it has max hp

i tryed many things, but nothing worked...
 
Level 17
Joined
Jan 21, 2007
Messages
2,014
My WE is not accesible at the moment, so i can't work out an exact trigger. But i have a theory about the event so that you don't have to use a periodic trigger(which may cause lag in large numbers).

Create a trigger with the event "a unit stops casting an ability"
I'm not sure if this will work, but the theory is that when the building goes to full hp it will stop casting heal.
 
Status
Not open for further replies.
Top