• 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] change attack range of unit

Status
Not open for further replies.
Level 1
Joined
Feb 26, 2008
Messages
4
i want to make a trigger that when a spell is cast the hero increase his attack range from melee to ranged
 

mik

mik

Level 4
Joined
Dec 13, 2007
Messages
59
you cant effectively change his range. you have to be creative. possible ways:

1. use an orb
he already gives melee units ranged attack. i dunno if you can make it target ground though.

2. use metamorphosis

dunno if its the name exactly, i mean the ultimate of the NE demonhunter. he gets ranged, though with some other effects, you gotta try if you can change them all.

3. give your hero 2 attacks

and set different allowed aims for them (like mechanical /organical)
then change the type of all enemy units to type mechanical or w/e by this trigger.

easiest way probably, but then you cant use mechanical/organical types for any other use.

so far
 
Level 9
Joined
Oct 24, 2007
Messages
421
Yes you can.

Or you can use the trigger action 'set research level' and use the riflemen range upgrade (make a custom upgrade based off this with 1 level and make the section of the unit stats called 'upgrades used' contain this. Much easier and smoother than mik's methods.... and the standard way of doing it as far as i can see.
 
Status
Not open for further replies.
Top