Jump to content

Script to close or refresh pickpocket inventory


killthesun

Recommended Posts

Posted

Hi,

 

My mod gives the player a debuff to pickpocket whenever he pickpockets an item, so that you can't just take everything. The problem is, the %chance to pickpocket items that are in the current window aren't updated. So I'd need to either refresh the window, or just close it and the player can reopen it himself if he wants.

But I can't find a way to do either. I read somewhere that you can do:

Game.DisablePlayerControls(False, False, False, False, False, True)
Game.EnablePlayerControls(False, False, False, False, False, True)

to close menus, but that didn't do anything for me. I tried with 5*false 3*true too.

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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