Jump to content

Is there a way to emulate the console command TM via script?


Recommended Posts

As part of my trainer mod, when the player gets a training, I scripted a fade-to-black to run for about 5 seconds to simulate time passing while adding 24 hours in game time.

 

This works great. But the dialogue prompt and the compass are still visible while the image mod is active.

 

Ideally, I want a totally black screen for the duration. Can it be done without SKSE? And if it can't, what would the SKSE scripting be?

 

As usual, TIA to anyone who answers!

Link to comment
Share on other sites

To hide or show the compass you can use these commands:

 

Utility.SetINIBool("bShowCompass:Interface", False) ;hide compass
Utility.SetINIBool("bShowCompass:Interface", true) ;show compass
Not sure about the dialogue but maybe DisablePlayerControls() would work. It hides the ui in part: https://www.creationkit.com/index.php?title=DisablePlayerControls_-_Game
Link to comment
Share on other sites

Thanks for the link IsharaMeaidin. Debug.ToggleMenus() is what is used in the SHOT mod.

Works perfectly and just the way I want it. All that is left is to adjust the timing a bit and I'll publish my "improved" Universal Trainer Grandmaster Elys.

 

dybill, thanks for the suggestions - I was already using DisablePlayerControls and SetHudCartMode and they sort of worked.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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