Releases: alandtse/PapyrusExtenderSSE
Releases · alandtse/PapyrusExtenderSSE
5.10.0.1
5.8.0.1
Full Changelog: 5.6.1.2...5.8.0.1
5.6.1.2
Full Changelog: 5.6.1.1...5.6.1.2
5.6.1.1
Full Changelog: 5.5.0.1...5.6.1.1
5.5.0.1
Full Changelog: 5.4.0.1...5.5.0.1
5.4.0.1
Full Changelog: 5.3.0.1...5.4.0.1
5.3.0.1
Full Changelog: 5.2.0.1...5.3.0.1
PE FastTravelTest
Report bugs here, not to po3. AE dll is for .353 only.
Barebones papyrus:
import PO3_Events_Alias
import PO3_SKSEFunctions
Event Oninit()
RegisterForFastTravelPrompt(self) ; Fast Travel Prompt is shown and user can confirm, deny, or place marker. There is natural delay to allow scripts to change the target
RegisterForFastTravelConfirmed(self) ; Fast Travel has been confirmed
PO3_SKSEFunctions.SetFastTravelWaitTimeout(1.0) ; Delay the fast travel for 1 second to get a new location.
PO3_SKSEFunctions.SetFastTravelDisabled(true) ; Disable fast travel. Scripts are responsible for enabling fast travel. Makes SetFastTravelWaitTimeout unnecessary.
EndEvent
Event OnFastTravelPrompt(ObjectReference asMarkerReference)
if PO3_SKSEFunctions.SetFastTravelTargetFormID(0x00072879) ; whiterun
debug.notification("Set location to Whiterun")
else
debug.notification("Failed to set location to Whiterun")
endif
EndEvent
Event OnFastTravelConfirmed(ObjectReference asMarkerReference)
if PO3_SKSEFunctions.SetFastTravelTargetString("Whiterun") ; whiterun
debug.notification("Set location to Whiterun")
else
debug.notification("Failed to set location to Whiterun")
endif
EndEventAlso added a VR version of OnPlayerFastTravelEnd. This requires a register function that is safe to use in SSE/AE
import PO3_Events_Alias
Actor Property PlayerRef Auto
Event OnInit()
RegisterForOnPlayerFastTravelEnd(self) ; new to support VR but is safe in SSE/AE
EndEvent
Event OnPlayerFastTravelEnd(float afTravelGameTimeHours)
debug.TraceAndBox("Player traveled for : " + afTravelGameTimeHours)
endEventFull Changelog: 5.2.0.1...fasttravel
5.2.0.1
Full Changelog: 5.1.1.1...5.2.0.1
5.1.1.1
Full Changelog: 5.1.0.1...5.1.1.1