enderalse/scripts/source/qf_mq07b_deusexmachina_0002eba7.psc

340 lines
8.3 KiB
Plaintext

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 46
Scriptname QF_MQ07b_DeusExMachina_0002EBA7 Extends Quest Hidden
;BEGIN ALIAS PROPERTY BanditAlias01
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_BanditAlias01 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY LishariAlias
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_LishariAlias Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY BanditAlias02
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_BanditAlias02 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY MyradTowerAlias
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_MyradTowerAlias Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Jorek
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Jorek Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Lexil
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Lexil Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY TealorAlias
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_TealorAlias Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Factory
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Factory Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY AltDothulgradMarker
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_AltDothulgradMarker Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY SoldatAlias02
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_SoldatAlias02 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY PlayerAlias
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_PlayerAlias Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY SC07_HallysLookMarker
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_SC07_HallysLookMarker Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Konstantin
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Konstantin Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY KarekAlias
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_KarekAlias Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Hallys
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Hallys Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY CaliaAlias
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_CaliaAlias Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Natara
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Natara Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Yuslan
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Yuslan Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY MageAlias
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_MageAlias Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY SoldatAlias01
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_SoldatAlias01 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY SC02_LishariStart
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_SC02_LishariStart Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Vision
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Vision Auto
;END ALIAS PROPERTY
;BEGIN FRAGMENT Fragment_7
Function Fragment_7()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.StartEscort()
kmyQuest.PrepareSC02()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_5
Function Fragment_5()
;BEGIN CODE
SetObjectiveCompleted(10)
SetObjectiveDisplayed(20)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_44
Function Fragment_44()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.StartSC06()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_41
Function Fragment_41()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.SpawnBarrier()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_20
Function Fragment_20()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.PlayerWakeUp()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_35
Function Fragment_35()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.FinishQuest()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_25
Function Fragment_25()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.HallysArrest()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_22
Function Fragment_22()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.HallysFlee()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_37
Function Fragment_37()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.SetUpFinalScene()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_33
Function Fragment_33()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
SetObjectiveCompleted(120)
kmyQuest.SC06Failsave() ; a failsave to set stage to 150
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_45
Function Fragment_45()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.SC02Failsave()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_0
Function Fragment_0()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.StartQuest()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_15
Function Fragment_15()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.CastExplosionAtPlayer()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_38
Function Fragment_38()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.PlayerWakeUp()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_26
Function Fragment_26()
;BEGIN CODE
SetObjectiveCompleted(30)
SetObjectiveDisplayed(40)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_29
Function Fragment_29()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.PlayBellVision()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_31
Function Fragment_31()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
SetObjectiveDisplayed(120)
kmyQuest.DisableHallysAndLishariDudes()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_34
Function Fragment_34()
;BEGIN AUTOCAST TYPE _00E_MQ07b_Questfunctions
Quest __temp = self as Quest
_00E_MQ07b_Questfunctions kmyQuest = __temp as _00E_MQ07b_Questfunctions
;END AUTOCAST
;BEGIN CODE
SetObjectiveDisplayed(125)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_39
Function Fragment_39()
;BEGIN CODE
SetObjectiveCompleted(60)
SetObjectiveDisplayed(101)
SetObjectiveDisplayed(102)
SetObjectiveDisplayed(103)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment