enderalse/scripts/source/qf__00e_mq04_stoneofmadness_0002eba2.psc

325 lines
7.7 KiB
Plaintext

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 39
Scriptname QF__00E_MQ04_StoneofMadness_0002EBA2 Extends Quest Hidden
;BEGIN ALIAS PROPERTY MQ04Stonefragment01
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_MQ04Stonefragment01 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Mercenary01
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Mercenary01 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY MQ04Stonefragment02
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_MQ04Stonefragment02 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Mercenary02
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Mercenary02 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY MQ04Stonefragment04
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_MQ04Stonefragment04 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY MQ04Stonefragment07
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_MQ04Stonefragment07 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY MQ04Stonefragment03
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_MQ04Stonefragment03 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY MQ04Stonefragment05
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_MQ04Stonefragment05 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY LishariFakeTarget
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_LishariFakeTarget Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Crossroads_Sign_Suntemple
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Crossroads_Sign_Suntemple Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY MQ04_Fire_01
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_MQ04_Fire_01 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Lift
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Lift Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY DeadMercenary
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_DeadMercenary Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Player
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Player Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Junas
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Junas Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Mercenary03
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Mercenary03 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY MQ04Stonefragment08
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_MQ04Stonefragment08 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Lishari
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Lishari Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY MQ04Stonefragment06
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_MQ04Stonefragment06 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Sevf
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Sevf Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY DeadGuardCorpse01
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_DeadGuardCorpse01 Auto
;END ALIAS PROPERTY
;BEGIN FRAGMENT Fragment_6
Function Fragment_6()
;BEGIN AUTOCAST TYPE MQ03_Functions
Quest __temp = self as Quest
MQ03_Functions kmyQuest = __temp as MQ03_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.EnableLishari()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_35
Function Fragment_35()
;BEGIN AUTOCAST TYPE MQ03_Functions
Quest __temp = self as Quest
MQ03_Functions kmyQuest = __temp as MQ03_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.FinishUp()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_18
Function Fragment_18()
;BEGIN AUTOCAST TYPE MQ03_Functions
Quest __temp = self as Quest
MQ03_Functions kmyQuest = __temp as MQ03_Functions
;END AUTOCAST
;BEGIN CODE
Alias_Lishari.GetActorReference().EvaluatePackage()
kmyQuest.GivePlayerSpell()
self.SetObjectiveDisplayed(40)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_31
Function Fragment_31()
;BEGIN CODE
Alias_Lishari.GetActorReference().EvaluatePackage()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_26
Function Fragment_26()
;BEGIN AUTOCAST TYPE MQ03_Functions
Quest __temp = self as Quest
MQ03_Functions kmyQuest = __temp as MQ03_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.ActivateLift()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_30
Function Fragment_30()
;BEGIN AUTOCAST TYPE MQ03_Functions
Quest __temp = self as Quest
MQ03_Functions kmyQuest = __temp as MQ03_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.LishariStartRitualScene()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_15
Function Fragment_15()
;BEGIN CODE
Alias_Lishari.GetActorReference().EvaluatePackage()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_23
Function Fragment_23()
;BEGIN AUTOCAST TYPE MQ03_Functions
Quest __temp = self as Quest
MQ03_Functions kmyQuest = __temp as MQ03_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.SetStageIfFailsaveUsed()
Alias_Lishari.GetActorReference().EvaluatePackage()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_20
Function Fragment_20()
;BEGIN AUTOCAST TYPE MQ03_Functions
Quest __temp = self as Quest
MQ03_Functions kmyQuest = __temp as MQ03_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.StartStoneMinigame()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_22
Function Fragment_22()
;BEGIN CODE
Alias_Lishari.GetActorReference().EvaluatePackage()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_36
Function Fragment_36()
;BEGIN CODE
self.SetObjectiveDisplayed(70)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_0
Function Fragment_0()
;BEGIN AUTOCAST TYPE MQ03_Functions
Quest __temp = self as Quest
MQ03_Functions kmyQuest = __temp as MQ03_Functions
;END AUTOCAST
;BEGIN CODE
SetObjectiveDisplayed(10)
SetObjectiveDisplayed(20)
SetObjectiveDisplayed(25)
kmyQuest.DisableBarrier()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_27
Function Fragment_27()
;BEGIN CODE
Alias_Lishari.GetReference().SetMotionType(7)
Alias_Lishari.GetActorReference().EvaluatePackage()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_13
Function Fragment_13()
;BEGIN AUTOCAST TYPE MQ03_Functions
Quest __temp = self as Quest
MQ03_Functions kmyQuest = __temp as MQ03_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.StartFollowing()
Alias_Mercenary01.GetReference().Enable()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_25
Function Fragment_25()
;BEGIN AUTOCAST TYPE MQ03_Functions
Quest __temp = self as Quest
MQ03_Functions kmyQuest = __temp as MQ03_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.StartSevfScene()
self.SetObjectiveDisplayed(60)
self.SetObjectiveDisplayed(65)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_9
Function Fragment_9()
;BEGIN CODE
Alias_Lishari.GetActorReference().EvaluatePackage()
Self.SetObjectiveCompleted(10)
Self.SetObjectiveCompleted(20)
Utility.Wait(2)
Game.EnablePlayerControls()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_29
Function Fragment_29()
;BEGIN AUTOCAST TYPE MQ03_Functions
Quest __temp = self as Quest
MQ03_Functions kmyQuest = __temp as MQ03_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.FadeToBlackAndBack()
kmyQuest.GiveEPForStones()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_16
Function Fragment_16()
;BEGIN CODE
Alias_Lishari.GetActorReference().EvaluatePackage()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_7
Function Fragment_7()
;BEGIN AUTOCAST TYPE MQ03_Functions
Quest __temp = self as Quest
MQ03_Functions kmyQuest = __temp as MQ03_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.DetonateMines()
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment