Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
844 B
30 lines
844 B
;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 FRAGMENT Fragment_2
|
|
Function Fragment_2()
|
|
;BEGIN CODE
|
|
SetCurrentStageID(10)
|
|
;END CODE
|
|
EndFunction
|
|
;END FRAGMENT
|
|
|
|
;BEGIN FRAGMENT Fragment_332
|
|
Function Fragment_332()
|
|
;BEGIN CODE
|
|
Actor PlayerREF = Game.GetForm(0x14) as Actor
|
|
PlayerREF.RemoveAllItems(none, false, false)
|
|
PlayerREF.MoveTo(PlayerStartMarkerNew)
|
|
|
|
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
|
|
|
|
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
|
|
|
|
ObjectReference Property PlayerStartMarkerNew Auto
|
|
|