- 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"
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
-
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))
-
Events
- Neutral Building - Add Item to Shop 0000 <gen> with ItemNumberOfItems[1] in stock and a max stock of 100000000