senterpat Posted July 24 Share Posted July 24 No overly complicated need, I remove a book when it's read from the players inventory, but the book remains visible in the window. Closing and opening the menu again will show it as needed, but I'm looking for a way to do it with script automatically when using the item. I remember in FNV I just had to add and remove a cap item and it would refresh. The same doesn't work in starfield it seems. Link to comment Share on other sites More sharing options...
LarannKiar Posted July 24 Share Posted July 24 I'm not sure if I understand your question correctly. If you call inventoryOwnerRef.RemoveItem(inventoryitemBaseForm), the item will be removed from the inventory and the inventory item list will be refreshed. The item will no longer be in the Notes section. If you call Debug.ExecuteConsole("HideMenu DataSlateMenu") after you clicked on a Note item to read it, the "inspect mode" closes but the item remains in the inventory. You can listen for this menu's OnMenuOpenCloseEvent if you'd like to RemoveItem() when the menu closes. RegisterForMenuOpenCloseEvent("DataSlateMenu") Event OnMenuOpenCloseEvent(string asMenuName, bool abOpening) If asMenuName == "DataSlateMenu" && abOpening == false ; remove item EndIf EndEvent Link to comment Share on other sites More sharing options...
Recommended Posts