Cleaned up _00E_MQ06_ConsecrationFailsaveSC properties no longer in the script

This commit is contained in:
Eddoursul 2024-02-19 10:38:33 +01:00
parent d4cd1b4f0e
commit e14eb0c96e
3 changed files with 8 additions and 5 deletions

Binary file not shown.

View File

@ -2,11 +2,14 @@ Scriptname _00E_MQ06_ConsecrationFailsaveSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == Game.GetPlayer() && MQ06.GetCurrentStageID() >= 40 && MQ06.GetCurrentStageID() < 55 && MQ06_SC5_RitualScene.IsPlaying() == false
If akActionRef == Game.GetForm(0x14) && MQ06.GetCurrentStageID() >= 40 && MQ06_SC5_RitualScene.IsPlaying() == false
(MQ06 as _00E_MQ06_Functions).AddSilence()
(MQ06 as _00E_MQ06_Functions).StartCer()
if MQ06.GetCurrentStageID() < 55
(MQ06 as _00E_MQ06_Functions).AddSilence()
(MQ06 as _00E_MQ06_Functions).StartCer()
else
Disable()
endif
EndIf
@ -14,4 +17,4 @@ EndEvent
Quest Property MQ06 Auto
Scene Property MQ06_SC5_RitualScene Auto
Scene Property MQ06_SC5_RitualScene Auto