Jump to content

Blocking reverse pickpocket of misc item


Jokerine

Recommended Posts

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...