75 lines
1.9 KiB
Plaintext
75 lines
1.9 KiB
Plaintext
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()
|
|
_00E_PlayerFunctions.GetSoundControl().RemoveCombatSoundtracks()
|
|
_00E_EPHandler.GiveEP(iRewardEXP)
|
|
FS_CQT01.CompleteAllObjectives()
|
|
FS_NQR04.SetCurrentStageID(85)
|
|
|
|
|
|
EndFunction
|
|
|
|
Function FailQuest()
|
|
|
|
_00E_FS_CQT01_TharaelMsg.Show()
|
|
_00E_PlayerFunctions.GetSoundControl().RemoveSilence()
|
|
_00E_PlayerFunctions.GetSoundControl().RemoveCombatSoundtracks()
|
|
FS_CQT01.FailAllObjectives()
|
|
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 |