Jokerine Posted August 15, 2016 Share Posted August 15, 2016 Hey all. I was wondering if anybody knows of a good way I could block reverse pickpocket of an item through script. I thought about doing something with OnAdd and DropMe, but I think the problem there would be that the player would be unable to take the item as well, and checking for the container REF may be a bit slow. Making them quest items would keep the player from dropping them too, which I need them to do. So I'm at a bit of a loss here. Any ideas? Thank you :) Link to comment Share on other sites More sharing options...
PushTheWinButton Posted August 21, 2016 Share Posted August 21, 2016 Using an OnAdd and checking the container with GetContainer is probably your best bet. I'm sure there's not going to be any performance issue with using GetContainer, especially since it's confined to an OnAdd block. Alternatively, you could use a quest script to check when the container menu is open and then remove the item, and re-aad it once the menu is closed. Probably over complicated for what you need but just an idea. Add and remove a Bobby Pin or something to force the inventory lists to update after you've moved the item. Link to comment Share on other sites More sharing options...
RoyBatterian Posted August 21, 2016 Share Posted August 21, 2016 OnAdd is bugged and doesn't always fire. Link to comment Share on other sites More sharing options...
Recommended Posts