4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

30 lines
698 B

Scriptname _00E_MQ11c_CaveEntranceDoorSC extends ObjectReference
Event OnInit()
self.BlockActivation(True)
EndEvent
Event OnActivate(ObjectReference akActionRef)
if self.IsActivationBlocked()
if akActionRef == PlayerREF
int MQ11cStage = MQ11c.GetCurrentStageID()
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