• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Spell] Select Hero/Select Unit priority for shops

Level 28
Joined
Feb 2, 2006
Messages
1,651
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