2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_CQC04_Functions extends Quest
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; FUNCTIONS
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Function SetUp()
|
|
|
|
|
|
|
|
_00E_MC_CaliaREF.UnequipItem(_01E_20Huetergrossschwert)
|
2024-08-06 14:21:07 +00:00
|
|
|
_00E_MC_CaliaREF.RemoveItem(_01E_20Huetergrossschwert)
|
2021-10-05 22:15:58 +00:00
|
|
|
_00E_MC_CaliaREF.SetOutfit(_00E_MC_Calia_Outfit)
|
|
|
|
_00E_MC_CaliaREF.MoveTo(CQC04_SC01_CaliaStartMarker)
|
|
|
|
_00E_MC_CaliaREF.BlockActivation(False)
|
|
|
|
|
|
|
|
If _00E_MC_CaliaREF.IsDisabled()
|
|
|
|
_00E_MC_CaliaREF.Enable()
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
CQC04_SC01_CaliaCollapse.ForceStart()
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function StartSC01Failsave()
|
|
|
|
|
|
|
|
If !CQC04_SC01_CaliaCollapse.IsPlaying()
|
|
|
|
CQC04_SC01_CaliaCollapse.ForceStart()
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function StartSC01()
|
|
|
|
|
|
|
|
CQC04_SC01_CaliaCollapse.ForceStart()
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function StopBoxingFailsave()
|
|
|
|
|
|
|
|
Debug.SendAnimationEvent(_00E_MC_CaliaREF, "IdleForceDefaultState")
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function CloseDoor()
|
|
|
|
|
|
|
|
CQC04_SC01_DoorREF.SetOpen(False)
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function CompleteCQC04()
|
|
|
|
|
2024-01-09 22:00:18 +00:00
|
|
|
_00E_PlayerFunctions.GetSoundControl().RemoveSilence()
|
|
|
|
AllowIdleChatter.SetValue(1)
|
|
|
|
_00E_EPHandler.GiveEP(__Config_iRewardEXP)
|
2021-10-05 22:15:58 +00:00
|
|
|
_00E_MC_CaliaREF.AddItem(_01E_20Huetergrossschwert)
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function AddMusic()
|
|
|
|
|
|
|
|
_00E_Music_Special_Character_Calia.Add()
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; PROPERTIES
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
int Property __Config_iRewardEXP = 250 Auto
|
|
|
|
|
2024-01-09 22:00:18 +00:00
|
|
|
GlobalVariable Property AllowIdleChatter Auto
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
Actor Property _00E_MC_CaliaREF Auto
|
|
|
|
|
|
|
|
Weapon Property _01E_20Huetergrossschwert Auto
|
|
|
|
|
|
|
|
Outfit Property _00E_MC_Calia_Outfit Auto
|
|
|
|
|
|
|
|
Scene Property CQC04_SC01_CaliaCollapse Auto
|
|
|
|
|
|
|
|
ObjectReference Property CQC04_SC01_CaliaStartMarker Auto
|
|
|
|
ObjectReference Property CQC04_SC01_DoorREF Auto
|
|
|
|
|
|
|
|
MusicType Property _00E_Music_Special_Character_Calia Auto
|