| 05-27-2006, 10:36 PM | #1 |
I got this merchant, that has X items, the merchant despawns at night, and respawns at the morning... it has X amount of items it always has, but then I have a trigger that has Y% chance to add Z new items. The thing is, eventually, the shop would run out of space, so in order to keep that from happening, I want the shop to remove the items bought PERMANENTLY from the list of items the shop sells... I found the trigger that "should" do it, but it doesn't... I think it only sets the amount in stock to 0. :| The trigger is something like: Events - Unit sells an item (from shop) Conditions - Unit-Type of (Selling Unit) is Treasure Hunter Action - Remove (Sold Item) from Treasure Hunter |
| 05-27-2006, 10:48 PM | #2 |
I know that the 'Remove (Item) from (Shop)' trigger only works on items added with the 'Add (Item) to (Shop)' trigger. Might this be your problem? |
| 05-27-2006, 10:54 PM | #3 |
Oh, so it can only remove items that I have added to it with triggers? If that's the case, then it works fine :) Doesn't matter if it doesn't remove the default items, its the new items that are important to remove, as they are "bonus" items. |
