2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ11c_CaveEntranceDoorSC extends ObjectReference
|
|
|
|
|
|
|
|
Event OnInit()
|
|
|
|
|
|
|
|
self.BlockActivation(True)
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
if self.IsActivationBlocked()
|
|
|
|
|
|
|
|
if akActionRef == PlayerREF
|
2024-01-10 14:08:24 +00:00
|
|
|
int MQ11cStage = MQ11c.GetCurrentStageID()
|
2021-10-05 22:15:58 +00:00
|
|
|
if (MQ11cStage >= 205) && (MQ11cStage < 250)
|
|
|
|
Self.Activate(akActionRef, True)
|
|
|
|
else
|
|
|
|
_00E_sDoorLocked.Show()
|
|
|
|
endif
|
|
|
|
ElseIf akActionRef != PlayerREF
|
|
|
|
Self.Activate(akActionRef, True)
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Quest Property MQ11c Auto
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
Message Property _00E_sDoorLocked Auto
|