• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Don't shoot into close-combat

Status
Not open for further replies.
Level 7
Joined
Aug 31, 2005
Messages
120
For a W40K map, I've got a problem.

Normally, a unit will shoot at anything within range, modified by priorities.
But the W40K rules states that once two groups of fighting units enters close-combat, at one combatant includes a risk of hitting friendly units.

Therefore, I don't want the units to shoot at any unit engaged in close-combat.

This is a major issue to my map, so I would really want an answer.
 
Level 13
Joined
Aug 31, 2005
Messages
823
Inside object editor find your unit, scrolling down to the combat section of your unit you will see the range of your units attacks, a little further down (past attack two) you will see an option titled
------------------------------------------------
Combat-Minimum Attack R...
------------------------------------------------
This is actually Minimum Attack Range (reveald after clicking on it) meaning that once a unit comes closer than this range your unit will not attack it anymore. by default this is zero for most units, simply add the range by which you donnot want your unit to attack and your all set.
 
Status
Not open for further replies.
Top