Zorkaz Posted February 14, 2021 Share Posted February 14, 2021 Does anyone know what the correct line for opening a container with a script is? (Like .OpenInventory()) Link to comment Share on other sites More sharing options...
pepperman35 Posted February 14, 2021 Share Posted February 14, 2021 will this work myContainer.Activate(Game.GetPlayer(), true) Link to comment Share on other sites More sharing options...
Zorkaz Posted February 14, 2021 Author Share Posted February 14, 2021 I thought so but alas it doesn't.As useful info: The container is in another cell (But Persistent) Link to comment Share on other sites More sharing options...
Evangela Posted February 15, 2021 Share Posted February 15, 2021 It should work, I use it for my mod to access extra storage. What I had to do was add a 1 sec wait. So place Utility.wait(1.0) above the Activate() call and it should work. Link to comment Share on other sites More sharing options...
Zorkaz Posted February 15, 2021 Author Share Posted February 15, 2021 Utility.wait does the trick! Link to comment Share on other sites More sharing options...
Recommended Posts