105 lines
2.6 KiB
Plaintext
105 lines
2.6 KiB
Plaintext
|
Scriptname _00E_CQJ01_Functions extends Quest
|
|||
|
|
|||
|
;=====================================================================================
|
|||
|
; EVENTS
|
|||
|
;=====================================================================================
|
|||
|
|
|||
|
Event OnUpdateGameTime()
|
|||
|
|
|||
|
CQC06_SC01_BedREF2.SetActorOwner(None)
|
|||
|
CapitalCityCommonTavern_LightLinkMarker.Enable()
|
|||
|
|
|||
|
EndEvent
|
|||
|
|
|||
|
;=====================================================================================
|
|||
|
; FUNCTIONS
|
|||
|
;=====================================================================================
|
|||
|
|
|||
|
Function EnableAcquaintanceAndStartSC01()
|
|||
|
|
|||
|
AudioCategoryBardMusic.SetVolume(0.75)
|
|||
|
|
|||
|
If _00E_MC_JesparREF.IsDisabled()
|
|||
|
_00E_MC_JesparREF.Enable()
|
|||
|
EndIf
|
|||
|
|
|||
|
_00E_MC_JesparREF.SetAlpha(1)
|
|||
|
_00E_MC_JesparREF.MoveTo(CQJ01_JesparStartMarkerREF)
|
|||
|
CQJ01_AcquaintanceREF.Enable()
|
|||
|
CQJ01_AcquaintanceREF.MoveTo(CQJ01_SC01_WomanREF)
|
|||
|
|
|||
|
CQJ01_SC01_DancingNomadScene.ForceStart()
|
|||
|
|
|||
|
EndFunction
|
|||
|
|
|||
|
Function DisableAcquaintance()
|
|||
|
|
|||
|
CQJ01_AcquaintanceREF.Disable()
|
|||
|
|
|||
|
EndFunction
|
|||
|
|
|||
|
Function FadeToBlack()
|
|||
|
|
|||
|
Levelsystem.FadeToBlack()
|
|||
|
CQJ01_SC01_BreadREF.Enable()
|
|||
|
CapitalCityCommonTavern_LightLinkMarker.Disable()
|
|||
|
DisableAcquaintance()
|
|||
|
Levelsystem.FadeToBlackBack()
|
|||
|
|
|||
|
EndFunction
|
|||
|
|
|||
|
Function SetOwnership()
|
|||
|
|
|||
|
_00E_MC_JesparREF.Disable()
|
|||
|
|
|||
|
EndFunction
|
|||
|
|
|||
|
Function ShowFailMessage()
|
|||
|
|
|||
|
If _00E_DisableQuestTutorials.GetValueInt() == 0
|
|||
|
_00E_Tutorial_Companions02_Jespar.Show()
|
|||
|
EndIf
|
|||
|
|
|||
|
EndFunction
|
|||
|
|
|||
|
Function StopScenes()
|
|||
|
|
|||
|
If CQJ01_SC01_DancingNomadScene.IsPlaying()
|
|||
|
CQJ01_SC01_DancingNomadScene.Stop()
|
|||
|
EndIf
|
|||
|
|
|||
|
EndFunction
|
|||
|
|
|||
|
Function FinishUp()
|
|||
|
|
|||
|
AudioCategoryBardMusic.SetVolume(1)
|
|||
|
Levelsystem.GiveEP(__Config_RewardEXP)
|
|||
|
|
|||
|
EndFunction
|
|||
|
|
|||
|
;=====================================================================================
|
|||
|
; PROPERTIES
|
|||
|
;=====================================================================================
|
|||
|
|
|||
|
; Sound CATEGORY zur<75>ck setzen
|
|||
|
|
|||
|
int Property __Config_RewardEXP = 250 Auto
|
|||
|
|
|||
|
_00E_QuestFunctions Property Levelsystem Auto
|
|||
|
|
|||
|
Actor Property _00E_MC_JesparREF Auto
|
|||
|
|
|||
|
ObjectReference Property CQJ01_AcquaintanceREF Auto
|
|||
|
ObjectReference Property CQJ01_JesparStartMarkerREF Auto
|
|||
|
ObjectReference Property CQC06_SC01_BedREF2 Auto
|
|||
|
ObjectReference Property CQJ01_SC01_WomanREF Auto
|
|||
|
ObjectReference Property CQJ01_SC01_BreadREF Auto
|
|||
|
ObjectReference Property CapitalCityCommonTavern_LightLinkMarker Auto
|
|||
|
|
|||
|
Message Property _00E_Tutorial_Companions02_Jespar Auto
|
|||
|
|
|||
|
SoundCategory Property AudioCategoryBardMusic Auto
|
|||
|
|
|||
|
Scene Property CQJ01_SC01_DancingNomadScene Auto
|
|||
|
|
|||
|
GlobalVariable Property _00E_DisableQuestTutorials Auto
|