Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
502 B
25 lines
502 B
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 |