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

[Trigger] Autocasting spells without being attacked.

Status
Not open for further replies.
Level 12
Joined
May 9, 2009
Messages
735
Hello, I am trying to create a few spells that heavily rely on autocasting. If you don't want to read the background skip to the second paragraph. The first spell is the following: a ward is placed which summons demons based on the sacrifices it receives. The sacrifices part is done by giving the ward an autocast raise dead spell which creates an invisible dummy which casts a mana regen spell which works only on wards and then expires. Once the ward reaches full mana it should automatically spawn a demon. I looked for tutorials on how to create auto-casted spells but most of them point towards a response to event like an attack and I find it useless if the unit needs to be attacked to start its autocasting. The second spell is similar but this time the totem heals your units instead of summoning a demon.

I really need help with triggering my units to auto-cast their spells which would usually be casted manually. Ranged spells need to be autocasted before the unit is attacked, preferably when the unit reaches casting distance to the enemy. Any help will be appreciated.
 
Level 13
Joined
Jul 16, 2012
Messages
679
:) Please dont double post.. use
edit.gif
if you forgot something

=========

If you have Trigger please post it :)
 
Status
Not open for further replies.
Top