Fixed the warning on the Nobles Quarter gates during Black Light Part 2 getting triggered by NPCs

This commit is contained in:
Eddoursul 2022-08-12 20:20:17 +02:00
parent 5063f9949a
commit aeceee87b3
2 changed files with 5 additions and 3 deletions

View File

@ -5,12 +5,14 @@ Event OnInit()
EndEvent
Event OnActivate(ObjectReference akActionRef)
If MQ12b.GetStage() >= 5 && MQ12b.GetStage() < 25
_00E_sDoorLocked.Show()
If MQ12b.GetCurrentStageID() >= 5 && MQ12b.GetCurrentStageID() < 25
if akActionRef == Game.GetForm(0x14)
_00E_sDoorLocked.Show()
endif
Else
Self.Activate(akActionRef, true)
EndIf
EndEvent
Quest Property MQ12b Auto
Message Property _00E_sDoorLocked Auto
Message Property _00E_sDoorLocked Auto