• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[JASS] Melee and Ranged Attack

Status
Not open for further replies.
Level 22
Joined
Jun 23, 2007
Messages
3,242
Is it possible for a unit to have both a ranged and melee attack at the same time? Like for example in Warhammer 40k, units have both a ranged attack and when an enemy unit comes with a certain distance, they automatically switch to melee attacks. Right now I'm using morph to change from melee to range, but its manual and i dont think alot of people are gonna change from melee to range in my map.

Nother thing, is it possbile to create a trigger so a unit can ATTACK WHILE ON THE MOVE?
 
Status
Not open for further replies.
Top