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:
Level 9
Joined
May 21, 2014
Messages
580
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.
 
Level 12
Joined
Nov 3, 2013
Messages
989
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...
 
Level 12
Joined
May 22, 2015
Messages
1,051
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.
Top