enderalse/source/scripts/_00e_mq07a_housedoorsc.psc

30 lines
529 B
Plaintext

Scriptname _00E_MQ07a_HouseDoorSC extends ObjectReference
Event OnInit()
Self.BlockActivation(True)
EndEvent
Event OnActivate(ObjectReference akActionRef)
Int curStage = MQ07a.GetStage()
if curStage < 135
if akActionRef as Actor != MQ07a_ZuraREF
; Do Nothing
Else
Self.Activate(akActionRef, True)
EndIf
ElseIf curStage >= 150 && curStage <= 170 ; After battle
; Do nothing
Else
Self.Activate(akActionRef as Actor, True)
EndIf
EndEvent
Actor Property MQ07a_ZuraREF Auto
Quest Property MQ07a Auto