enderalse/source/scripts/_00e_fs_cqt01_functions.psc

75 lines
1.9 KiB
Plaintext
Raw Normal View History

Scriptname _00E_FS_CQT01_Functions extends Quest
;=====================================================================================
; 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()
_00E_PlayerFunctions.GetSoundControl().RemoveSilence()
2024-02-05 02:17:04 +00:00
_00E_PlayerFunctions.GetSoundControl().RemoveCombatSoundtracks()
_00E_EPHandler.GiveEP(iRewardEXP)
FS_CQT01.CompleteAllObjectives()
2024-01-10 14:08:24 +00:00
FS_NQR04.SetCurrentStageID(85)
EndFunction
Function FailQuest()
_00E_FS_CQT01_TharaelMsg.Show()
_00E_PlayerFunctions.GetSoundControl().RemoveSilence()
2024-02-05 02:17:04 +00:00
_00E_PlayerFunctions.GetSoundControl().RemoveCombatSoundtracks()
FS_CQT01.FailAllObjectives()
2024-01-10 14:08:24 +00:00
FS_NQR04.SetCurrentStageID(85)
EndFunction
;=====================================================================================
; PROPERTIES
;=====================================================================================
int iRewardEXP = 450
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