Moved the GetNewGameCount() check to the init quest
This commit is contained in:
parent
b880f158bf
commit
11b6e15e66
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -8,7 +8,6 @@ Import Utility
|
||||
|
||||
Function SetUpScene()
|
||||
|
||||
Game.SetInChargen(true, true, false)
|
||||
Game.FadeOutGame(false, true, 0.5, 0.5)
|
||||
FadeToBlackHoldIMOD.Apply()
|
||||
PlayerREF.SetScale(0.85)
|
||||
|
@ -3,16 +3,9 @@ Scriptname _00E_MQP01_StartSC extends ObjectReference
|
||||
Event OnTriggerEnter (ObjectReference akActionREF)
|
||||
|
||||
if akActionRef == PlayerREF && !bDone
|
||||
bDone = true ; deletion may take some time
|
||||
Delete()
|
||||
If !MQ10a.IsRunning()
|
||||
If !MQ12c.IsRunning()
|
||||
if 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.")
|
||||
return
|
||||
endif
|
||||
|
||||
bDone = true
|
||||
Disable()
|
||||
If ! MQP01.IsCompleted() && MQ10a.GetCurrentStageID() != 5 && !MQ10a.IsRunning() && !MQ12c.IsRunning()
|
||||
if _00E_QuickStartPrompt.Show() > 0
|
||||
MQP01.CompleteAllObjectives()
|
||||
MQP01.CompleteQuest()
|
||||
@ -33,7 +26,6 @@ Event OnTriggerEnter (ObjectReference akActionREF)
|
||||
endif
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndEvent
|
||||
|
||||
|
@ -25,6 +25,11 @@ Function Fragment_332()
|
||||
;BEGIN CODE
|
||||
game.GetPlayer().RemoveAllItems(none, false, false)
|
||||
game.GetPlayer().MoveTo(Alias_StartMarkerRef.GetReference(), 0.000000, 0.000000, 0.000000, true)
|
||||
|
||||
if 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.")
|
||||
endif
|
||||
;END CODE
|
||||
EndFunction
|
||||
;END FRAGMENT
|
||||
|
Loading…
Reference in New Issue
Block a user