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

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