• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Hero Priority function

Status
Not open for further replies.
Level 12
Joined
Nov 3, 2013
Messages
989
I don't remember what the function which let you turn of hero priority on/off is called, could someone tell me?

Some hastily made description of what the function does:

The one which would make player units (a) attack any unit that attacked their hero(a2) even if the attacking unit (b) is farther away than another unit (b2) that's attacking the unit (a) itself.

unit (a) is attacked by unit (b2)
hero (a2) is attacked by unit (b)

hero priority on -> unit (a) attacks unit (b)

hero priority off -> unit (a) attacks unit (b2)

sry if the variables are a bit confusing, I just made them as a I went, should still clarify a bit
 
Last edited:
There is still a rather large confusion regarding anything that requires acquiring targets, or forcing an uncontrolled unit (either by neutral or AI) to attack something, both priorities and even targeting. From my experience the best resources out there are triggers, though to prevent the AI to really control it, you need to set their side to Neutral and set ally configurations. Yes, removing AI melee triggers doesn't really completely remove the AI. In fact, the AI cannot be removed. e.g. Skills are being automatically cast depending on behavior of AI and what the base skill is.

If someone knows though please enlighten here. I've been finding a way to manipulate priorities.
 
Yes, removing AI melee triggers doesn't really completely remove the AI.

I know, that's why I'm looking for the function I've already mentioned, I've used it before and I've seen it mentioned in some other thread some other time in the past but I can't seem to remember the name and my blind search in the list of functions haven't proved fruitful yet either...
 
I feel like that AI is built-in. Do you want to remove it completely or be able to toggle it?

I know with fortified armour, units prioritise them as buildings. They actively try to attack units that do not have fortified armour until those are the only ones left. I haven't messed around with this for heroes though.

It is a slim chance, but hero armour may have affects on the AI similar to fortified armour. You could mess around with armour types and see what happens.

EDIT:
Just saw your other post:
"I've used it before and I've seen it mentioned in some other thread some other time in the past but I can't seem to remember the name"

I didn't know such a function exists.
 
Status
Not open for further replies.
Back
Top