2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_CQ_D_01_Functions extends Quest
|
|
|
|
|
|
|
|
Import Utility
|
2024-01-09 22:00:18 +00:00
|
|
|
|
2021-10-05 22:15:58 +00:00
|
|
|
;=====================================================================================
|
|
|
|
; FUNCTIONS
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Function EnableDancers()
|
|
|
|
|
|
|
|
CQD01_DancerREF.Enable()
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function ReturnMoney()
|
|
|
|
|
|
|
|
PlayerREF.AddItem(Gold001, 50)
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function FadeOutIn()
|
|
|
|
|
|
|
|
FadeToBlackIMOD.Apply()
|
|
|
|
Wait(2)
|
|
|
|
FadeToBlackHoldIMOD.ApplyCrossFade(1)
|
|
|
|
|
|
|
|
FadeToBlackBackIMOD.ApplyCrossFade(1)
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function MoveDijaamToDump()
|
|
|
|
|
|
|
|
_00E_SC_DijaamOnelys.MoveTo(_00E_NPCDumpMarker)
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function StartSC01()
|
|
|
|
|
|
|
|
CQ_D_01_SC01_DijaamGoToBar.ForceStart()
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
|
|
|
|
Function FinishQuest(bool bSuccess)
|
|
|
|
|
|
|
|
If bSuccess == true
|
2024-01-09 22:00:18 +00:00
|
|
|
_00E_EPHandler.GiveEP(__Config_RewardEXP)
|
2021-10-05 22:15:58 +00:00
|
|
|
Self.CompleteQuest()
|
|
|
|
EndIf
|
|
|
|
CQD01_DancerREF.Disable()
|
|
|
|
|
|
|
|
EndFunction
|
|
|
|
;=====================================================================================
|
|
|
|
; PROPERTIES
|
|
|
|
;=====================================================================================
|
|
|
|
;scenes
|
|
|
|
Scene Property CQ_D_01_SC01_DijaamGoToBar Auto
|
|
|
|
|
|
|
|
;rewards
|
|
|
|
MiscObject Property Gold001 Auto
|
|
|
|
int Property __Config_RewardEXP Auto
|
|
|
|
|
|
|
|
;actors
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
Actor Property _00E_SC_DijaamOnelys Auto
|
|
|
|
|
|
|
|
;marker
|
|
|
|
ObjectReference Property _00E_NPCDumpMarker Auto
|
|
|
|
ObjectReference Property CQD01_DancerREF Auto
|
|
|
|
|
|
|
|
;fadeout
|
|
|
|
ImagespaceModifier Property FadeToBlackIMOD Auto
|
|
|
|
ImagespaceModifier Property FadeToBlackHoldIMOD Auto
|
|
|
|
ImagespaceModifier Property FadeToBlackBackIMOD Auto
|