enderalse/scripts/source/_00e_cqc04_functions.psc

82 lines
1.9 KiB
Plaintext

Scriptname _00E_CQC04_Functions extends Quest
;=====================================================================================
; FUNCTIONS
;=====================================================================================
Function SetUp()
_00E_MC_CaliaREF.UnequipItem(_01E_20Huetergrossschwert)
_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()
Levelsystem.RemoveSilence()
Levelsystem.SetAllowIdleChatter(True)
Levelsystem.GiveEP(__Config_iRewardEXP)
_00E_MC_CaliaREF.AddItem(_01E_20Huetergrossschwert)
EndFunction
Function AddMusic()
_00E_Music_Special_Character_Calia.Add()
EndFunction
;=====================================================================================
; PROPERTIES
;=====================================================================================
int Property __Config_iRewardEXP = 250 Auto
_00E_QuestFunctions Property Levelsystem Auto
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