enderalse/source/scripts/_00e_mq07a_sc4_doorsc.psc

35 lines
792 B
Plaintext

Scriptname _00E_MQ07a_SC4_DoorSC extends ObjectReference
Event OnInit()
Self.BlockActivation(True)
EndEvent
Event OnActivate(ObjectReference akActionRef)
If MQ07a.GetStage() == 75
if (akActionRef == MQ07a_TheAgedManREF)
Self.Activate(akActionRef, True)
Else
_00E_MC_JesparREF.Say(MQ07A_D3_RemarksTopic)
EndIf
ElseIf MQ07a.GetStage() == 85
If akActionRef == Game.GetPlayer()
Self.BlockActivation(False)
self.Activate(Game.GetPlayer(), True)
EndIf
ElseIf MQ07a.GetStage() == 170
Self.BlockActivation(True)
_00E_MQ07a_sDoorDoesntBudge.Show()
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