HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Shop Purchase Item

08-01-2005, 09:18 AM#1
TheXenocide
Is it possible to use triggers so that when I create a shop (which has it's own invintory) I can cause the "Shop Purchase Item" ability to target the shop so that I can sell items from the shop to the shop (I know that sounds weird). I already tried editing the "Shop Purchase Item" ability to only target "self" but it didn't work.
08-01-2005, 01:22 PM#2
Kalvorod
Purchase items only works for heros.

If you want to trade items between shops you have to use the code
Neutral Building-remove item for sale(or something like that)
and then
Neutral Building-Add item for sale

the items in shops are not stored in inventories, they don't exist until they get bought.
08-01-2005, 05:07 PM#3
TheXenocide
Quote:
Originally Posted by Kalvorod
Purchase items only works for heros.

If you want to trade items between shops you have to use the code
Neutral Building-remove item for sale(or something like that)
and then
Neutral Building-Add item for sale

the items in shops are not stored in inventories, they don't exist until they get bought.

You are incorrect, the way I have it set up currently is that you have to manually select the shop as the unit you are selling too, it works, but I want to make it so that the shop is selected by "default."

EDIT: I am actually wrong about the ability name, the ability name is "shop sharing," not "shop purchase item." But the problem remains the same.
08-02-2005, 12:37 AM#4
Pheonix-IV
Change the range of the ability to 100 or 50. Then the only unit in range will be the shop.