Open the inventory screen - SKSE command ?

Post » Thu Jun 13, 2013 9:37 pm

Hi,

I'd like the player to be able to open the inventory when there is a DisablePlayerControls(...) triggered. As far as I know we can't do that with vanilla functions (OpenInventory(true) does not open the inventory in the normal way), but seeing that all functions of the SKSE are not documented on the wiki, maybe someone has an idea ?

Thanks.

User avatar
Steve Smith
 
Posts: 3540
Joined: Sat Jun 30, 2007 10:47 am

Post » Thu Jun 13, 2013 10:27 am

Maybe try this... although I guess you may need to enable menu controls right beforehand
Game.EnablePlayerControls(false, false, false, false, false, true, false, false)Input.TapKey(Input.GetMappedKey("Quick Inventory"))Game.DisablePlayerControls(false, false, false, false, false, true, false, false)
User avatar
luis dejesus
 
Posts: 3451
Joined: Sun Aug 19, 2007 7:40 am

Post » Thu Jun 13, 2013 12:34 pm

Yes I tried it before, without the first line, because I can't EnablePlayerControls just before the player tries to open the inventory. In your example, you can't reopen your inventory again.

User avatar
Jessie Rae Brouillette
 
Posts: 3469
Joined: Mon Dec 11, 2006 9:50 am


Return to V - Skyrim