26 lines
410 B
Plaintext
26 lines
410 B
Plaintext
Scriptname _00E_MQ11b_Door_Crypt_SC extends ObjectReference
|
|
|
|
Event OnInit()
|
|
|
|
Self.BlockActivation(True)
|
|
|
|
EndEvent
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
if Self.IsActivationBlocked()
|
|
|
|
if akActionRef == PlayerREF
|
|
|
|
If MQ11b.GetStage() >= 100
|
|
Self.BlockActivation(False)
|
|
Self.Activate(PlayerREF, True)
|
|
EndIf
|
|
|
|
EndIf
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
Actor Property PlayerREF Auto
|
|
Quest Property MQ11b Auto |