• 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.

Very LAME problem with item event in trigger...

Status
Not open for further replies.
Level 14
Joined
Aug 8, 2010
Messages
1,022
Hello, guys! I have a problem in my lame trigger. Even the word "lame" is not enough powerful to describe my trigger. I use the "A unit Sells an item (from shop)" event in my trigger but it seems it's not the right one. I have a variable that checks the number of a item in the shop. And when that item is sold, i want the variable to decrease. Seems like i have something wrong. Here is the "trigger"
  • Pig is bought
    • Events
      • Unit - A unit Sells an item (from shop)
    • Conditions
    • Actions
      • Game - Display to (All players) the text: (Name of (Sold Item))
The item is not in the "Techtree - Items sold" and "Techtree - Items made" in the object editor where the shop is. The item is added to the shop via
  • Neutral Building - Add Item to Shop 0000 <gen> with ItemNumberOfItems[1] in stock and a max stock of 100000000
Help me guys. +rep is the reward.
 
Status
Not open for further replies.
Top