• 🏆 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!

Mobile Racial Shop, and Sell Unit

Status
Not open for further replies.
1) I have a mobile shop for each race. Currently enemy players are able to buy items from your shop. I have Select Hero on the shop. I have tried using Shop Purchase Item and Shop Sharing instead of Select Hero and that solves the problem but creates a new one as sold items are dropped on the ground.

2) Sell Units implies that I can have a shop that players may sell units to. I've never been able to get it to work though.
 
Level 25
Joined
Jul 10, 2006
Messages
3,315
1. Have you tried using Select Unit?

2. Not quite sure how you would want this to work... I'd give the shop a "buy unit" ability that you target a unit with.
The Sell Units ability just allows you to use the "neutral building" trigger actions to give it units to sell.

EDIT: Figured out 1).
Items must be in the
Techtree - Items Made
field, not Items Sold
 
Status
Not open for further replies.
Top