enderalse/scripts/source/_00e_fs_cqt01_functions.psc

79 lines
1.8 KiB
Plaintext
Raw Normal View History

Scriptname _00E_FS_CQT01_Functions extends Quest
Import _00E_QuestFunctions
;=====================================================================================
; FUNCTIONS
;=====================================================================================
Function SetUp()
SetObjectiveDisplayed(5)
FS_NQR04_DoorCourtyardREF.SetOpen(False)
EndFunction
Function StartSC01()
FS_CQT01_SC01_TharaelMemory.ForceStart()
FS_NQR04_DoorCourtyardREF.SetOpen(False)
EndFunction
Function MakeFire()
_00E_FS_FireShortDM.Play(_00E_FS_NQR04_TharaelREF)
FS_CQT01_SC01_FireREF.Enable(True)
EndFunction
Function AddMusic()
_00E_FS_Music_Special_Character_Tharael.Add()
EndFunction
Function FinishUp()
Levelsystem.RemoveSilence()
Levelsystem.RemoveCombatSoundtracks()
Levelsystem.GiveEP(iRewardEXP)
FS_CQT01.CompleteAllObjectives()
FS_NQR04.SetStage(85)
EndFunction
Function FailQuest()
_00E_FS_CQT01_TharaelMsg.Show()
Levelsystem.RemoveSilence()
Levelsystem.RemoveCombatSoundtracks()
FS_CQT01.FailAllObjectives()
FS_NQR04.SetStage(85)
EndFunction
;=====================================================================================
; PROPERTIES
;=====================================================================================
int iRewardEXP = 450
_00E_QuestFunctions Property Levelsystem Auto
Actor Property _00E_FS_NQR04_TharaelREF Auto
Scene Property FS_CQT01_SC01_TharaelMemory Auto
Sound Property _00E_FS_FireShortDM Auto
ObjectReference Property FS_CQT01_SC01_FireREF Auto
ObjectReference Property FS_NQR04_DoorCourtyardREF Auto
Message Property _00E_FS_CQT01_TharaelMsg Auto
MusicType Property _00E_FS_Music_Special_Character_Tharael Auto
Quest Property FS_CQT01 Auto
Quest Property FS_NQR04 Auto