2021-10-05 22:15:58 +00:00
|
|
|
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
|
|
|
|
;NEXT FRAGMENT INDEX 332
|
2024-02-14 22:04:35 +00:00
|
|
|
Scriptname QF_MQ101 Extends Quest Hidden
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
;BEGIN FRAGMENT Fragment_2
|
|
|
|
Function Fragment_2()
|
|
|
|
;BEGIN CODE
|
2024-01-10 14:08:24 +00:00
|
|
|
SetCurrentStageID(10)
|
2021-10-05 22:15:58 +00:00
|
|
|
;END CODE
|
|
|
|
EndFunction
|
|
|
|
;END FRAGMENT
|
|
|
|
|
|
|
|
;BEGIN FRAGMENT Fragment_332
|
|
|
|
Function Fragment_332()
|
|
|
|
;BEGIN CODE
|
2024-02-07 03:57:46 +00:00
|
|
|
Actor PlayerREF = Game.GetForm(0x14) as Actor
|
|
|
|
PlayerREF.RemoveAllItems(none, false, false)
|
|
|
|
PlayerREF.MoveTo(PlayerStartMarkerNew)
|
2024-02-14 22:04:35 +00:00
|
|
|
PlayerStartMarkerNew = None
|
2024-02-16 13:53:40 +00:00
|
|
|
Utility.Wait(0.2)
|
2024-01-31 23:08:15 +00:00
|
|
|
|
2024-02-07 04:55:57 +00:00
|
|
|
if SKSE.GetVersion() > 0 && EnderalFunctions.GetNewGameCount() > 1
|
2024-01-31 23:08:15 +00:00
|
|
|
Game.QuitToMainMenu()
|
|
|
|
Debug.MessageBox("Due to an engine bug, new game should not be started after quitting to the main menu. Please, restart Enderal first.")
|
2024-02-16 14:13:29 +00:00
|
|
|
return
|
2024-01-31 23:08:15 +00:00
|
|
|
endif
|
2024-02-16 13:53:40 +00:00
|
|
|
|
|
|
|
if _00E_QuickStartPrompt.Show() > 0
|
|
|
|
QuickStartQuest.Init()
|
|
|
|
else
|
|
|
|
MQP01.SetCurrentStageID(10)
|
|
|
|
endif
|
2024-02-16 14:13:29 +00:00
|
|
|
|
|
|
|
Stop()
|
2021-10-05 22:15:58 +00:00
|
|
|
;END CODE
|
|
|
|
EndFunction
|
|
|
|
;END FRAGMENT
|
|
|
|
|
|
|
|
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
|
2024-02-07 03:57:46 +00:00
|
|
|
|
|
|
|
ObjectReference Property PlayerStartMarkerNew Auto
|
2024-02-16 13:53:40 +00:00
|
|
|
|
|
|
|
Quest Property MQP01 Auto
|
|
|
|
|
|
|
|
Message Property _00E_QuickStartPrompt Auto
|
|
|
|
|
|
|
|
_00E_MQ101_QuickStart Property QuickStartQuest Auto
|