• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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
 
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.
Back
Top