Jump to content

[LE] Help: script to detect when the player crosses a load screen


Mithril97

Recommended Posts

  • 2 months later...
I would think that an easy way to block fast travel would be to create a new Ability with a Magiceffect that holds your script. The script would simply disable fast travel in the OnEffectStart event. You could add Conditions to the MagicEffect form so that it would only run when the player has activated the menus, for example. I would think that there should be a flag somewhere in the Conditions box that you could use to your advantage. Edited by steve40
Link to comment
Share on other sites

  • 8 years later...

Hey guys, I know this thread is old, but I was looking for an easy way to detect load screens with a script and I found a solution with SKSE so I thought I'd post here in case someone else is interested.

 

Event OnInit() 
    Utility.Wait(1)
    RegisterForMenu("Loading Menu")
EndEvent

Event OnMenuClose(String menuName)
    If menuName == "Loading Menu"
        ;do stuff 
    Endif 
EndEvent
Link to comment
Share on other sites

  • 2 months later...
  • Recently Browsing   0 members

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