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

Unit attacks

Status
Not open for further replies.
Level 4
Joined
Jun 20, 2006
Messages
89
I have a question. In Warhammer 40K units have their melee and ranged attack so when a unit is attacked in melee combat it fights with melee weapon, and when attacked in ranged combat they use ranged weapons. Can this be made in Warcraft too? :?: :?: :?:


Thnx for your help!
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
it will be alittle harder in a non turn-based game, cuz melee and ranged units can attack at the same time. but anyway, i think u cant check if its attacked by melee or ranged anyway, except by letting it detect when its attacked by unit types with a ranged attack (if its attacked by a '.....' or a '.....' or... etc, then order atacked unit to nightelf demonhunter - metamorphosis (give the unit an metamorphosis based ability so it transforms into a ranged unit
 
Status
Not open for further replies.
Top