Scriptname Dark19WhispersScript
Short Listened
Float WhisperTimer
short Speak
float Timer1
float Timer2
float Timer3
short SancClean
float fQuestDelayTime
short Follower
short BowHelp
short BladeHelp
short MagicHelp
short OrderSneak
short OrderFast
short OrderReturn
short OrderStay
short OrderNormal
short ArquenMarker
Begin GameMode
; Begin block that controls the Night Mother statue's speech
If Speak == 1
player.SCAOnactor
DisablePlayerControls
set Timer1 to ( Timer1 + GetSecondsPassed )
endif
If Speak == 1 && Timer1 > 10.5
NightMotherStatueRef.Say Dark19StatueTalk2 1 TheNightMother
Set Speak to 2
Set Timer1 to 0
endif
If Speak == 2
set Timer2 to ( Timer2 + GetSecondsPassed )
endif
If Speak == 2 && Timer2 > 12
NightMotherStatueRef.Say Dark19StatueTalk3 1 TheNightMother
Set Speak to 3
Set Timer2 to 0
endif
If Speak == 3
set Timer3 to ( Timer3 + GetSecondsPassed )
endif
If Speak == 3 && Timer3 > 11
NightMotherStatueRef.Say Dark19StatueTalk4 1 TheNightMother
Set Speak to 4
Set Timer3 to 0
EnablePlayerControls
endif
;End block that controls the Night Mother statue's speech
if speak == 5 && listened <= gamedayspassed
set speak to 0
set Dark19Whispers.ArquenMarker to 1
endif
; Controls the Sanctuary cleanup after the player is the Listener
If SancClean == 0 && GetStage Dark19Whispers == 10 && Player.GetInCell CheydinhalSanctuary == 0
Dark19Murderer1Ref.Enable
Dark19Murderer2Ref.Enable
Dark19Murderer3Ref.Enable
Set SancClean to 1
endif
End |