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
|
|
|
|
Scriptname QF_MQ101_0003372B Extends Quest Hidden
|
|
|
|
|
|
|
|
;BEGIN ALIAS PROPERTY Player
|
|
|
|
;ALIAS PROPERTY TYPE ReferenceAlias
|
|
|
|
ReferenceAlias Property Alias_Player Auto
|
|
|
|
;END ALIAS PROPERTY
|
|
|
|
|
|
|
|
;BEGIN ALIAS PROPERTY StartMarkerRef
|
|
|
|
;ALIAS PROPERTY TYPE ReferenceAlias
|
|
|
|
ReferenceAlias Property Alias_StartMarkerRef Auto
|
|
|
|
;END ALIAS PROPERTY
|
|
|
|
|
|
|
|
;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
|
|
|
|
game.GetPlayer().RemoveAllItems(none, false, false)
|
|
|
|
game.GetPlayer().MoveTo(Alias_StartMarkerRef.GetReference(), 0.000000, 0.000000, 0.000000, true)
|
2024-01-31 23:08:15 +00:00
|
|
|
|
|
|
|
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
|
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
|