Jump to content

Execute script after pause menu closes


vraiment

Recommended Posts

Hi

 

I'm new to modding and I'm trying to do a MCM entry for a mod that I use and doesn't have MCM entry but a quest item in the inventory that opens a terminal when used.

 

I want to be able to remove the object from the MCM menu and I have already managed to do that by removing it in the MCM script I created, the problem is if I (by error) disable and enable the item without closing the MCM the messages "item removed" and then "item added" appear.

 

Is there a way to wait for the MCM to close so I can verify if the status of the item changed and then remove or add the item if needed?

 

Thanks

Link to comment
Share on other sites

If it's just the messages your worried about, Jazzisparis took care of that. But if you want to hang a script off of the pause menu it's menumode is 1013. Don't know about firing it when it closes, because then your back to gamemode, but you can definitely fire it off when pause opens/starts.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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