Trying to refresh Player inventory?

Post » Wed Oct 02, 2013 3:30 pm

Hey everyone,

I am trying to hammer out a last bothersome bug with my mod. One of the install options for the mod involves momentarily removing the player's entire inventory and then returning it to them via script (to track their items). However, there is a problem that seems to occur after doing this -- if the player activates a crafting station, their full inventory wont show up in the crafting menu (only some things will, strangely).

The problem is solved by either leaving and re-activating the crafting station, or else, by simply opening and closing the inventory menu before activating the crafting station. If I do either of these things, the inventory registers correctly afterward.

At first I thought it might be a problem with the command removeAllItems(), which I used to return everything to the player all at once. So I tried adding/removing a few specific, single items after this command, hoping that it would force the game to re-evaluate the inventory, but no luck.

What I want to know is, is there any way to refresh/fix the inventory so the player doesnt have to deal with this inconvenience?

User avatar
OTTO
 
Posts: 3367
Joined: Thu May 17, 2007 6:22 pm

Post » Wed Oct 02, 2013 9:45 am

(I should also note that I would like to refrain from using SKSE for now)

User avatar
SamanthaLove
 
Posts: 3565
Joined: Mon Dec 11, 2006 3:54 am


Return to V - Skyrim