enderalse/source/scripts/qf_mq101.psc

48 lines
1.1 KiB
Plaintext
Raw Normal View History

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 332
Scriptname QF_MQ101 Extends Quest Hidden
;BEGIN FRAGMENT Fragment_2
Function Fragment_2()
;BEGIN CODE
2024-01-10 14:08:24 +00:00
SetCurrentStageID(10)
;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)
PlayerStartMarkerNew = None
Utility.Wait(0.2)
if SKSE.GetVersion() > 0 && EnderalFunctions.GetNewGameCount() > 1
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
endif
if _00E_QuickStartPrompt.Show() > 0
QuickStartQuest.Init()
else
MQP01.SetCurrentStageID(10)
endif
2024-02-16 14:13:29 +00:00
Stop()
;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
Quest Property MQP01 Auto
Message Property _00E_QuickStartPrompt Auto
_00E_MQ101_QuickStart Property QuickStartQuest Auto