2021-10-05 22:15:58 +00:00
|
|
|
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()
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
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
|