enderalse/source/scripts/qf_nq26_001469ed.psc

206 lines
4.8 KiB
Plaintext
Raw Normal View History

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 20
Scriptname QF_NQ26_001469ED Extends Quest Hidden
;BEGIN ALIAS PROPERTY Yerai
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Yerai Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY NQ26Generator
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_NQ26Generator Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Pathira
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Pathira Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY PathiraZenturio
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_PathiraZenturio Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY PathiraTarget
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_PathiraTarget Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Valve1
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Valve1 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Valve3
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Valve3 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Valve0
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Valve0 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Player
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Player Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Valve2
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Valve2 Auto
;END ALIAS PROPERTY
;BEGIN FRAGMENT Fragment_6
Function Fragment_6()
;BEGIN CODE
SetObjectiveCompleted(30)
SetObjectiveDisplayed(40)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_10
Function Fragment_10()
;BEGIN AUTOCAST TYPE _00E_NQ26_Questfunctions
Quest __temp = self as Quest
_00E_NQ26_Questfunctions kmyQuest = __temp as _00E_NQ26_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.Rumble()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_11
Function Fragment_11()
;BEGIN AUTOCAST TYPE _00E_NQ26_Questfunctions
Quest __temp = self as Quest
_00E_NQ26_Questfunctions kmyQuest = __temp as _00E_NQ26_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.PortPahtira()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_13
Function Fragment_13()
;BEGIN AUTOCAST TYPE _00E_NQ26_Questfunctions
Quest __temp = self as Quest
_00E_NQ26_Questfunctions kmyQuest = __temp as _00E_NQ26_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.PahtiraStartCombat()
SetObjectiveCompleted(55)
SetObjectiveDisplayed(60)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_2
Function Fragment_2()
;BEGIN CODE
NQ26_SC1.ForceStart()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_5
Function Fragment_5()
;BEGIN AUTOCAST TYPE _00E_NQ26_Questfunctions
Quest __temp = self as Quest
_00E_NQ26_Questfunctions kmyQuest = __temp as _00E_NQ26_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.PortPhatira()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_15
Function Fragment_15()
;BEGIN AUTOCAST TYPE _00E_NQ26_Questfunctions
Quest __temp = self as Quest
_00E_NQ26_Questfunctions kmyQuest = __temp as _00E_NQ26_Questfunctions
;END AUTOCAST
;BEGIN CODE
Levelsystem.GiveEP(3000)
Game.GetPlayer().AddItem(_00E_NQ26YeraisSchlssel,1)
CompleteAllObjectives()
If _00E_AchievementsEnabled.GetValueInt() == 1
Game.UnlockAchievement("END_HORST_01")
EndIf
kmyQuest.ClearPlayerAlias()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_18
Function Fragment_18()
;BEGIN CODE
SetObjectiveCompleted(60)
SetObjectiveDisplayed(70)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_8
Function Fragment_8()
;BEGIN AUTOCAST TYPE _00E_NQ26_Questfunctions
Quest __temp = self as Quest
_00E_NQ26_Questfunctions kmyQuest = __temp as _00E_NQ26_Questfunctions
;END AUTOCAST
;BEGIN CODE
SetObjectiveCompleted(10)
SetObjectiveDisplayed(20)
kmyQuest.SC02Failsave()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_9
Function Fragment_9()
;BEGIN AUTOCAST TYPE _00E_NQ26_Questfunctions
Quest __temp = self as Quest
_00E_NQ26_Questfunctions kmyQuest = __temp as _00E_NQ26_Questfunctions
;END AUTOCAST
;BEGIN CODE
kmyQuest.DisableGenerator()
SetObjectiveCompleted(20)
SetObjectiveDisplayed(30)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_7
Function Fragment_7()
;BEGIN AUTOCAST TYPE _00E_NQ26_Questfunctions
Quest __temp = self as Quest
_00E_NQ26_Questfunctions kmyQuest = __temp as _00E_NQ26_Questfunctions
;END AUTOCAST
;BEGIN CODE
;kmyQuest.ReanimateGenerator()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_4
Function Fragment_4()
;BEGIN CODE
SetObjectiveDisplayed(10)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
Scene Property NQ26_SC1 Auto
Key Property _00E_NQ26YeraisSchlssel Auto
_00E_QuestFunctions Property Levelsystem Auto
GlobalVariable Property _00E_AchievementsEnabled Auto