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

Creep return range? Priority?

Status
Not open for further replies.
Level 12
Joined
Jun 28, 2008
Messages
688
I have 2 quick questions about subjects I need help in for my current project.

#1 - How do I set it so that neutral units have NO return range, and will move any distance if issued an order by a trigger?

#2 - How do I set up unit priority so that heros are not primary targets for enemies?

Help would be greatly appreciated, thank you.
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
UreDe4D answered this quickly while I was typing the story below. It might still help you, since it contains a few quite useful details. :wink:


You can change the return range of creeps by going to 'Advanced' --> 'Gameplay Constants...', check the box 'Use Custom Gameplay Constants' and changing the Value of 'Creeps - Guard Return Distance' to it's maximum.

To change target priority: Go to the Object Editor and change the value of 'Stats - Priority' to a value you want. The units with the highest Priority value in targeting range of the enemy will be targeted before units with a lower Priority value.
The priority value has a cap of 0 till 20, but the cap can be changed to -1000000000 till 1000000000 by holding SHIFT while dubble-clicking 'Stats - Priority'. This will grant you the ability to create a target priority system to whatever you desire!
 
Last edited:
Status
Not open for further replies.
Top