enderalse/source/scripts/qf_mq08_intothedeep_0002eba6.psc

379 lines
8.6 KiB
Plaintext
Raw Normal View History

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 50
Scriptname QF_MQ08_IntoTheDeep_0002EBA6 Extends Quest Hidden
;BEGIN ALIAS PROPERTY JesparAlias
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_JesparAlias Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Altar
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Altar Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY JesparLookMarker
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_JesparLookMarker Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY NebelhaimLoc
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_NebelhaimLoc Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY KonstantinAlias
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_KonstantinAlias Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY PresurePlate
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_PresurePlate Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Siglstone
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Siglstone Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Sitzbank
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Sitzbank Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY PlayerAlias
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_PlayerAlias Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY SiglstoneContainerAlias
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_SiglstoneContainerAlias Auto
;END ALIAS PROPERTY
;BEGIN FRAGMENT Fragment_33
Function Fragment_33()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
SetObjectiveCompleted(155)
SetObjectiveDisplayed(160)
kmyQuest.JesparResetCombatComments()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_16
Function Fragment_16()
;BEGIN CODE
SetObjectiveCompleted(75)
SetObjectiveDisplayed(80)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_40
Function Fragment_40()
;BEGIN CODE
SetObjectiveCompleted(45)
SetObjectiveDisplayed(46)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_29
Function Fragment_29()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
SetObjectiveDisplayed(150)
kmyQuest.StartSC07()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_34
Function Fragment_34()
;BEGIN CODE
SetObjectiveCompleted(160)
SetObjectiveDisplayed(165)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_41
Function Fragment_41()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyquest.RemoveSoundtrack()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_11
Function Fragment_11()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.JesparEVP()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_36
Function Fragment_36()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
SetObjectiveDisplayed(170)
kmyQuest.KillTrainStationEnemies()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_9
Function Fragment_9()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.JesparEVP()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_38
Function Fragment_38()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.StartTrainScene()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_45
Function Fragment_45()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.KonstantinMadnessSceneFailsave()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_5
Function Fragment_5()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
;kmyQuest.PortKontantinToNebelaim()
SetObjectiveDisplayed(45)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_43
Function Fragment_43()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.OpenGate()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_28
Function Fragment_28()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.PlayerStopAIWalk()
MQ08_IntoTheDeep_GoToTrain3.Start()
2024-01-10 14:08:24 +00:00
SetCurrentStageID(180)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_12
Function Fragment_12()
;BEGIN CODE
SetObjectiveCompleted(60)
SetObjectiveDisplayed(65)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_44
Function Fragment_44()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.StartSC06()
kmyQuest.StartSC06_Failsave()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_7
Function Fragment_7()
;BEGIN CODE
SetObjectiveCompleted(50)
SetObjectiveDisplayed(55)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_8
Function Fragment_8()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQUest.EnableFollower()
kmyQUest.PortKonstantin()
SetObjectiveCompleted(55)
SetObjectiveDisplayed(60)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_15
Function Fragment_15()
;BEGIN CODE
SetObjectiveCompleted(70)
SetObjectiveDisplayed(75)
_00E_TeleportGlobal.SEtValue(1)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_26
Function Fragment_26()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GoToTrain()
SetObjectiveCompleted(80)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_23
Function Fragment_23()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
MQ08_IntoTheDeep_GoToTrain.ForceStart()
kmyQUest.CreatePlayerCopy()
SetObjectiveCompleted(80)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_14
Function Fragment_14()
;BEGIN CODE
SetObjectiveCompleted(65)
SetObjectiveDisplayed(70)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_39
Function Fragment_39()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.PortFollowerToNebelhaim()
SetObjectiveDisplayed(45)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_37
Function Fragment_37()
;BEGIN CODE
SetObjectiveCompleted(170)
Game.DisablePlayerControls()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_46
Function Fragment_46()
;BEGIN CODE
if !IsObjectiveCompleted(47)
SetObjectiveFailed(47)
endif
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_31
Function Fragment_31()
;BEGIN CODE
SetObjectiveCompleted(150)
SetObjectiveDisplayed(155)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_6
Function Fragment_6()
;BEGIN AUTOCAST TYPE _00E_MQ08_Questfunctions
Quest __temp = self as Quest
_00E_MQ08_Questfunctions kmyQuest = __temp as _00E_MQ08_Questfunctions
;END AUTOCAST
;BEGIN CODE
SetObjectiveCompleted(46)
SetObjectiveDisplayed(50)
SetObjectiveDisplayed(47)
MQ09aDoorRathaus.lock(0)
kmyQuest.OpenDoor()
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
Scene Property MQ08_IntoTheDeep_GoToTrain Auto
Scene Property MQ08_IntoTheDeep_GoToTrain3 Auto
GlobalVariable Property _00E_TeleportGlobal Auto
ObjectReference Property MQ09aDoorRathaus Auto