• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Making shops only target Heroes

Status
Not open for further replies.
Level 13
Joined
Oct 16, 2010
Messages
731
Title explains itself really... I put "Select Hero" on my shops but I have an automatic seller unit that also can be selected, how do I stop this?

P.S. The Seller unit has an inventory of 1 that was based from Hero Inventory.
 
Level 15
Joined
Oct 29, 2012
Messages
1,474
It's odd how the ability is allowed only to target heroes, and its name is 'Select Hero', but I think it just selects units with inventories even a building xD
Maybe you uncheck (Stats - Interaction Type = Any unit w/inventory) and leave 'Targets Allowed' as Hero, try that.

If that doesn't work, then add 'Organic' to your Automatic Seller, and add (Non-organic) to your Select Hero, otherwise you have to trigger the ability for yourself

If none works, then trigger this:
When a unit starts the effect of Select hero, remove unit inventory from automatic seller, when it ends , give it to him again.

I can't think any further sorry :/
 
Status
Not open for further replies.
Top