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.
 
 
 

33 lines
733 B

Scriptname _00E_MQ1c_KetaronDoorScript extends ObjectReference
Event OnInit()
self.BlockActivation()
EndEvent
Event OnActivate(ObjectReference akActionRef)
if akActionRef == Game.GetPlayer()
If MQ11c_ASongInTheSilence.GetStage() == StayLockedStage01
MQ11c_ASongInTheSilence.SetStage(StayLockedStage02)
Elseif MQ11c_ASongInTheSilence.GetStage() >= UnlockStage
self.BlockActivation(False)
self.Activate(PlayerREF, true)
Else
_00E_MQ07a_sDoorDoesntBudge.Show()
EndIf
EndIf
EndEvent
Message Property _00E_MQ07a_sDoorDoesntBudge Auto
Quest Property MQ11c_ASongInTheSilence Auto
int Property StayLockedStage01 Auto
int Property StayLockedStage02 Auto
int Property UnlockStage Auto
Actor Property PlayerREF Auto