25 lines
502 B
Plaintext
25 lines
502 B
Plaintext
Scriptname _00E_MQ07a_HouseDoorTGBXSC extends ObjectReference
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
|
|
|
if !bDone
|
|
|
|
if akActionRef == PlayerREF && MQ07a.GetStage() < 150 && MQ07A_SC9_Battle.IsPlaying()
|
|
bDone = True
|
|
MQ07a_SC8_HouseDoor.SetOpen(False)
|
|
MQ07a_SC8_HouseDoor.BlockActivation(True)
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
bool bDone
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
Quest Property MQ07a Auto
|
|
|
|
ObjectReference Property MQ07a_SC8_HouseDoor Auto
|
|
|
|
Scene Property MQ07A_SC9_Battle Auto |