enderalse/source/scripts/_00e_mq10bunlockdoorifscenerunning.psc

18 lines
402 B
Plaintext

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