4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

74 lines
1.7 KiB

Scriptname _00E_CQ_D_01_Functions extends Quest
Import _00E_QuestFunctions
Import Utility
;=====================================================================================
; 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
Levelsystem.GiveEP(__Config_RewardEXP)
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
_00E_QuestFunctions Property Levelsystem 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