31 lines
689 B
Plaintext
31 lines
689 B
Plaintext
|
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.GetStage()
|
||
|
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
|