30 lines
538 B
Plaintext
30 lines
538 B
Plaintext
Scriptname _00E_MQ07a_HouseDoorSC extends ObjectReference
|
|
|
|
Event OnInit()
|
|
|
|
Self.BlockActivation(True)
|
|
|
|
EndEvent
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
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
|