Scriptname _00E_MQ07a_SC4_DoorSC extends ObjectReference Event OnInit() Self.BlockActivation(True) EndEvent Event OnActivate(ObjectReference akActionRef) If MQ07a.GetCurrentStageID() == 75 if (akActionRef == MQ07a_TheAgedManREF) Self.Activate(akActionRef, True) Else _00E_MC_JesparREF.Say(MQ07A_D3_RemarksTopic) EndIf ElseIf MQ07a.GetCurrentStageID() == 85 If akActionRef == Game.GetPlayer() Self.BlockActivation(False) self.Activate(Game.GetPlayer(), True) EndIf ElseIf MQ07a.GetCurrentStageID() == 170 ; Pre-2.1, apparitions tried enter this door, triggering the message. ; Added this condition for mod-added companions If akActionRef == Game.GetPlayer() Self.BlockActivation(True) _00E_MQ07a_sDoorDoesntBudge.Show() endif EndIf EndEvent Topic Property MQ07A_D3_RemarksTopic Auto Actor Property MQ07a_TheAgedManREF Auto Actor Property _00E_MC_JesparREF Auto Quest Property MQ07a Auto Message Property _00E_MQ07a_sDoorDoesntBudge Auto