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

[Spell] Select Hero/Select Unit priority for shops

Level 28
Joined
Feb 2, 2006
Messages
1,650
My map contains shops which will automatically select units/heroes like regular shops.
However, the heroes in the map have different bags which are heroes as well and are always automatically moved to their location.
It is a bit annoying when the shops select the bags/backpacks automatically since the hero should always have a higher priority.

Is there any way to force the shops to first select the hero and not the bags?
The upri (Priority) field is already set to 0 for the bags and for heroes it is 9 but that dos not help.
Is it maybe the delay from the auto moving every 0.03 seconds which causes shops to then select the bags?

Is there any way to detect the select hero/unit event from the shop and then to order it to select a different hero/unit?
 
Top