enderalse/source/scripts/_00e_mq07a_housedoortgbxsc.psc

25 lines
511 B
Plaintext

Scriptname _00E_MQ07a_HouseDoorTGBXSC extends ObjectReference
Event OnTriggerLeave(ObjectReference akActionRef)
if !bDone
if akActionRef == PlayerREF && MQ07a.GetCurrentStageID() < 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