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

Adding items to shop via triggers

Status
Not open for further replies.
Level 9
Joined
Jan 15, 2008
Messages
235
Hey,

I've tried to add item in shop with trigger, it should be basic thing, but somehow, if i add 3 items of same type when i buy one they all disappear its really odd. Does anyone know what's solution

here is simple trigger that i use just for test

  • test
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Neutral Building - Add Scroll of Animate Dead to Marketplace 0000 <gen> with 2 in stock and a max stock of 3
Thanks for help
 
Level 3
Joined
May 24, 2007
Messages
50
so this is not possible? why blizzard made this functions ?

Its because of the way shops with "sell items" instead of Shop Purchase Item work, if you buy an item it will be removed from the shop. Unfortunately " Neutral Building - Add [Item]" only works for buildings with Sell Items.

Although this doesn't help you much at all, its not a bug, its just the way they wanted sell items to work.
 
Status
Not open for further replies.
Top