• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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