HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Possible to remove item from shop?

02-24-2007, 08:29 PM#1
Brash
is it possible to remove an item from being sold at a shop via trigger?

i tried this:
Trigger:
Neutral Building - Remove <item name> from <Shopname>

but all it does is removes 1 out of the stock.. but icon still shows and it fills up again ready to be sold.

i want the item impossible to be sold after being sold once.

then if i later want it to be sold i'd like a way to reenable it to sell that item
02-24-2007, 08:47 PM#2
Av3n
Ever tried disabling it for players not to buy it?

-Av3n
02-24-2007, 08:52 PM#3
Brash
Quote:
Originally Posted by Av3n
Ever tried disabling it for players not to buy it?

-Av3n

well, i've been looking for that kind of thing and so far no luck.
02-24-2007, 09:34 PM#4
darkwulfv
I think it's only possible if the item was added via triggers. Not sure what the action is, but you're probably on the right track. But remember, it will only work if the item was put in the shop through triggers.
02-24-2007, 10:00 PM#5
Brash
okay i took it out of the object editor properties and had a trigger attempt to add it but it did not work.

i used :

Trigger:
Neutral Building - Add <item> to <shop> <gen> with 1 in stock and a max stock of 1


it does nothing.


edit: i just realized it says marketplace.. maybe my building is not classified as a "marketplace" hm.. how is that done


edit again: NM I GOT IT!! i had to enable the shop to sell items and give it the item sell abilities. it lacked those yet still sold for some reason. once i gave it those it acted like it should.