Warcraft III resources & community, 2003–2006 · archived

Attacking priorities

11 posts
#1

Attacking priorities

hey, i need to set priorities for attack, when unit a and unit b are both in range of unit c.

I want to be able to make it so unit c will kill unit a before starting to attack unit b.

Is this 'stata - priority' in the unit editor?
If so, the higher number the higher priority, so the higher, the more chance to get attacked when another unit is near?

thanks.
#2
Probably is you use order rallies, but I don't know if they are triggered.
#3
i'm afraid i'm not sure what you mean.

I have not triggered any of those attacks.
In other words, when a unit stands before an enemy building, and an enemy unit, what makes it decide to attack either one first?
#4
eusiria, any more comments?
#5
Any unit have it's priority
go to the unit manager, click at any unit and look fo the string:
character-priority
for example skeleton mage have priority 1 and sphynx 8 :P
#6
there's no such thing as 'character - x'
#7
http://vampirekb.siteburg.com/wc3.jpg

if somebody also from russia please translate it to him...

At WE unlimited it has the name: stats- priority

__________________________________________
i add my answer here:
Yes than higher priority that more chances that computer will attack this target
1 = the poorest one
20 = the bestest one

what unit computer attack first if he see grunt , troll and hero?
hero,because he have priority "9"
#8
that explains, well, read my first post, and you'll see that string is part of the question, which remains unanswered.
#9
I've always wondered how the priority thing worked, too...

Is it the higher or lower the number, the more chance the unit will be attacked?
#10
Basically. For example, you start slashing at a barracks with an uncommanded footman. Another footman pops out, and the two will automatically start slashing at each other. Not only is it logic, but there is a priority in that. I'm not sure, but priority can also have stuff to do with AI and formation ranking
#11
what you said about the formation ranking, i always thought it had something to do with formations. But, there has to be some other variable.
I'm gonna play around with the stats-priority variable for a bit.