2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ07a_SC4_DoorSC extends ObjectReference
|
|
|
|
|
|
|
|
Event OnInit()
|
|
|
|
|
|
|
|
Self.BlockActivation(True)
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
If MQ07a.GetCurrentStageID() == 75
|
2021-10-05 22:15:58 +00:00
|
|
|
if (akActionRef == MQ07a_TheAgedManREF)
|
|
|
|
Self.Activate(akActionRef, True)
|
|
|
|
Else
|
|
|
|
_00E_MC_JesparREF.Say(MQ07A_D3_RemarksTopic)
|
|
|
|
EndIf
|
2024-01-10 14:08:24 +00:00
|
|
|
ElseIf MQ07a.GetCurrentStageID() == 85
|
2021-10-05 22:15:58 +00:00
|
|
|
If akActionRef == Game.GetPlayer()
|
|
|
|
Self.BlockActivation(False)
|
|
|
|
self.Activate(Game.GetPlayer(), True)
|
|
|
|
EndIf
|
2024-01-10 14:08:24 +00:00
|
|
|
ElseIf MQ07a.GetCurrentStageID() == 170
|
2021-10-05 22:15:58 +00:00
|
|
|
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
|