An ability that has the 'Best Unit' flag will cause it to pick the best unit with that ability from your selection to execute the ability (once). Let's say I have 3 Marines and 1 Firebat all with the same ability. Using the unit value Subgroup Priority I can set it so that the unit with the highest priority will be in front of the selection (with unit portrait etc), while you would have the press tab to cycle through the other unit types. Right now, having my 3 Marines and 1 Firebat selected, with Marines having the highest priority, using the ability will cause a marine to execute it. The second time I execute it, a Firebat is doing it. The third time is a Marine. What I gather is the game recognizes both unit types as 'equal' when it comes to the best unit, and will just randomly select a unit from the selection to execute the ability. I want to know, does anyone know at what value the 'Best Unit' flag is looking at to determine the best unit?
As far as I know, Best Unit = the unit in the best position to do the action. If you play as zerg in a normal game and highlight 3 separate queens and tell them all to spawn larva it is always the one closest that goes.
I would reinforce that it is whatever unit is closest. I know that mana is not taken into account. If you have two ravens, one with 125 mana and one with full mana, the 125 mana one will be chosen to drop an auto turret, assuming it is closest. This can be annoying because now you have only 1 raven with enough mana for a seeker missile, whereas if the full mana had dropped it you would still have mana for two seeker missiles.
Hey guys,
An ability that has the 'Best Unit' flag will cause it to pick the best unit with that ability from your selection to execute the ability (once). Let's say I have 3 Marines and 1 Firebat all with the same ability. Using the unit value Subgroup Priority I can set it so that the unit with the highest priority will be in front of the selection (with unit portrait etc), while you would have the press tab to cycle through the other unit types. Right now, having my 3 Marines and 1 Firebat selected, with Marines having the highest priority, using the ability will cause a marine to execute it. The second time I execute it, a Firebat is doing it. The third time is a Marine. What I gather is the game recognizes both unit types as 'equal' when it comes to the best unit, and will just randomly select a unit from the selection to execute the ability. I want to know, does anyone know at what value the 'Best Unit' flag is looking at to determine the best unit?
@XGDragon:
As far as I know, Best Unit = the unit in the best position to do the action. If you play as zerg in a normal game and highlight 3 separate queens and tell them all to spawn larva it is always the one closest that goes.
@Titen42: Go
I would reinforce that it is whatever unit is closest. I know that mana is not taken into account. If you have two ravens, one with 125 mana and one with full mana, the 125 mana one will be chosen to drop an auto turret, assuming it is closest. This can be annoying because now you have only 1 raven with enough mana for a seeker missile, whereas if the full mana had dropped it you would still have mana for two seeker missiles.
@Titen42: Go
Thanks, I can work with this!