enderalse/source/scripts/_00e_mq10bunlockdoorifscenerunning.psc

18 lines
384 B
Plaintext

Scriptname _00E_MQ10bUnlockDoorIfSceneRunning extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == Game.GetPlayer() && MQ10b.GetStage() >= 70 && MQ10b.GetStage() <= 140
If MQ10bTavernDoor.IsLocked()
MQ10bTavernDoor.Lock(False)
EndIf
endif
EndEvent
Quest Property MQ10b Auto
ObjectReference Property MQ10bTavernDoor Auto