Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
26 lines
410 B
26 lines
410 B
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 |