• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Item Availability Problem

Status
Not open for further replies.
Level 8
Joined
Jul 18, 2010
Messages
332
  • pet sold
    • Events
      • Unit - A unit Sells an item (from shop)
    • Conditions
      • (Item-type of (Sold Item)) Equal to Sidtri Pet Card
    • Actions
      • Neutral Building - Remove Sidtri Pet Card from all marketplaces
The Sidtri Pet Card is a miscellaneous item that can be bought from the pet shop. I want it to be for sale in the shop only once. But the trigger doesn't seem to work. The pet shop already has the Sells Items ability. Not sure if it is the event or the conditions. Need help
 
Last edited by a moderator:
Level 16
Joined
May 1, 2008
Messages
1,605
Moin moin =)

For the removing problem: The thing is you can only remove items, if there are added with triggers.

So in this case, put an item create like this:
  • Neutral Building - Add Potion of Healing to all marketplaces with 1 in stock and a max stock of 1
in your init trigger and ONLY then you can remove it.

Greetings and Peace
Dr. Boom
 
Status
Not open for further replies.
Top