smashly Posted August 26, 2014 Share Posted August 26, 2014 Hi,I'm trying to filter a custom container I've made, but I'm not having luck. Basically the container only needs to store 1 type of ingredient.I was trying to make is so the container invetory only shows that item when in the container or player inventory regardless of what the player has. So I tried using an activator with Link Ref to hidden NPC and the gift menu and the filter works fine.But the gift menu seems to only work as give or take and not both at the same time. I had a look at the OnAddItem and AddInventoryEventFilter but I'm after to filter the items in the inventory, not as they are being added to the container. So how do I add a filter to the Container/Player inventory.Like when you buy from a merchant then only items that the merchant trades is displayed in yours and theirs inventory. I'm not after someone to write a script to do it, I'm looking for pointers in the direction of where I should be looking to accomplish what I'm after. Link to comment Share on other sites More sharing options...
smashly Posted August 26, 2014 Author Share Posted August 26, 2014 NVM, I've decided that it's not possible to do what I'm after via the default methods in the CK.Or at least without chasing my tail in circles. Basically I ended up working out how the vendors do their filtering via vendor lists.I managed to add a new vendor list with just the one item to a custom vendor faction.Put my container npc in the faction and used a link Ref from my activator to the container npc.But this not what I wanted at all. I can't believe how silly the CK is when it come to doing something that should be natively straight forward.So now I can see why people that do mods don't have filters on their containers.Sure they have a name on the container, eg: Apples.But when you look in your inventory while in the Apples Container all the crap that isn't Apples shows.Sure you can make it so you can't add other crap apart from Apples, but you can't actually filter it in the inventory to start with.I can't believe that there's a gift filter but it only works 1 way at a time... how lame.Quite discouraging really./vent over :) Link to comment Share on other sites More sharing options...
Recommended Posts