enderalse/source/scripts/_00e_mq07a_housedoorsc.psc

30 lines
538 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ07a_HouseDoorSC extends ObjectReference
Event OnInit()
Self.BlockActivation(True)
EndEvent
Event OnActivate(ObjectReference akActionRef)
2024-01-10 14:08:24 +00:00
Int curStage = MQ07a.GetCurrentStageID()
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