dizietemblesssma Posted December 7, 2024 Share Posted December 7, 2024 In Fallout4 there is the OnPlayerTeleport() event, this doesn't just fire on fast travel but also on coc (don't care) and load doors in and out of interior cells, the latter I do care about as I would like to receive an event just from fast travelling using the map and this event is the nearest I can find but is not specific enough. Any suggestions to achieve what I want? diziet Link to comment Share on other sites More sharing options...
LarannKiar Posted December 7, 2024 Share Posted December 7, 2024 You can register the script for OnPlayerTeleport and OnMenuOpenCloseEvent, start a short timer in OnMenuOpenCloseEvent when the PipBoyMenu closes. If OnPlayerTeleport is received before the timer expires it's probably a Fast Travel event. Link to comment Share on other sites More sharing options...
SKKmods Posted December 7, 2024 Share Posted December 7, 2024 (3) With fast travel fee enabled, if the player uses an internal/external load door within 1 second of closing the PipBoy that will be detected as fast travel and charged. Slow down. Link to comment Share on other sites More sharing options...
dizietemblesssma Posted December 8, 2024 Author Share Posted December 8, 2024 @LarannKiarThat's a cwl idea, I'll test it out. Thanks @SKKmodsI just looked at the decompilation of your utility fasttravel script, Setting a bool for travel that only applies when the pipboy is open is cwl:) I hope you don't mind if I steal that idea for my mod? diziet Link to comment Share on other sites More sharing options...
SKKmods Posted December 9, 2024 Share Posted December 9, 2024 No problem, several folks figured out that method independently in their solutions. Link to comment Share on other sites More sharing options...
Recommended Posts