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

Auto Cast Range Problem

Status
Not open for further replies.
Level 2
Joined
Jun 19, 2007
Messages
11
I've been trying to make a spell that increases damage per hit and gives a melee unit ranged attack (frost arrows but with a twist). I set the casting range to 700, but it just doesn't seem to register with a melee unit. When on autocast, the hero just ignores it and goes melee. When just single casting it, it works at a range but is evaded every single time. I assume it just thinks that hes melee and therefore range doesnt register. Is there some sort of trigger or way around this?
 
Level 5
Joined
Aug 23, 2007
Messages
141
Use a trigger so that: When you issue an order (Frost Arrows On), attack 1 of your unit is disabled, and attack 2 is enabled. Then set another trigger so when you issue an order (Frost Arrows Off), attack 2 is disabled, and attack 1 is enabled. Attack 1 is melee, and attack 2 is ranged...
 
Status
Not open for further replies.
Top