HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Playerspecific Shop problems

01-05-2011, 08:32 PM#1
Dau
Zup,

I'm creating a system with shops allowing only the owner of the shop to be able to buy items from it.
Having a unit with items added to "items sold" and without the "Select Hero"-ability because this ability selects allies as well.
Now, when you buy an item from this shop the item is created beside the shop.
The event "Unit sells an item" is not triggered by this, the event triggered by this is "No Target Order" and the OrderID is the Item Type ID of the purchased item.
The item is still created beside the shop and I have yet to find a way to reach this item without selecting an item in a region around the shop with that ID.

Have anyone encountered this problem before?
Is there another way of retrieving the item without random selection?

Thanks Dau