2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_CQC02_Functions extends Quest
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; FUNCTIONS
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Function SetUp()
|
|
|
|
|
|
|
|
_00E_MC_CaliaREF.SetOutfit(_00E_MC_Calia_SimpleClothing)
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function MoveCaliaAndPlayer()
|
|
|
|
|
|
|
|
_00E_MC_CaliaREF.UnequipItem(_03E_20_KeeperGreatsword)
|
|
|
|
_00E_MC_CaliaREF.RemoveItem(_03E_20_KeeperGreatsword, 1)
|
|
|
|
CQC02_SC01_CaliaTowerScene01.ForceStart()
|
|
|
|
_00E_SilenceTransitionHighPriority.Add()
|
|
|
|
FadeToBlackIMOD.Apply()
|
|
|
|
Utility.Wait(2.7)
|
|
|
|
FadeToBlackHoldIMOD.ApplyCrossFade(afFadeDuration = 0.3)
|
|
|
|
|
|
|
|
_00E_MC_CaliaREF.SetOutfit(_00E_MC_Calia_SimpleClothing)
|
|
|
|
_00E_MC_CaliaREF.MoveTo(CQC02_MarkerREF)
|
|
|
|
PlayerREF.MoveTo(CQC02_SC01_PlayerMarkerREF)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
SetCurrentStageID(15)
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function FadeBack()
|
|
|
|
|
|
|
|
FadeToBlackBackIMOD.ApplyCrossFade()
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function AddMusic()
|
|
|
|
|
|
|
|
_00E_Music_Special_Character_Calia.Add()
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function FinishQuest()
|
|
|
|
|
|
|
|
_00E_MC_CaliaREF.AddItem(_03E_20_KeeperGreatsword, 1)
|
|
|
|
_00E_SilenceTransitionHighPriority.Remove()
|
2024-01-09 22:00:18 +00:00
|
|
|
_00E_EPHandler.GiveEP(__Config_iRewardEXP)
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; PROPERTIES
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
int Property __Config_iRewardEXP = 350 Auto
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
Actor Property _00E_MC_CaliaREF Auto
|
|
|
|
|
|
|
|
Outfit Property _00E_MC_Calia_SimpleClothing Auto
|
|
|
|
|
|
|
|
ObjectReference Property CQC02_MarkerREF Auto
|
|
|
|
ObjectReference Property CQC02_SC01_PlayerMarkerREF Auto
|
|
|
|
|
|
|
|
ImageSpaceModifier Property FadeToBlackIMOD Auto
|
|
|
|
ImageSpaceModifier Property FadeToBlackHoldIMOD Auto
|
|
|
|
ImageSpaceModifier Property FadeToBlackBackIMOD Auto
|
|
|
|
|
|
|
|
Weapon Property _03E_20_KeeperGreatsword Auto
|
|
|
|
|
|
|
|
Scene Property CQC02_SC01_CaliaTowerScene01 Auto
|
|
|
|
|
|
|
|
MusicType Property _00E_Music_Special_Character_Calia Auto
|
|
|
|
MusicType Property _00E_SilenceTransitionHighPriority Auto
|