enderalse/source/scripts/_00e_nq_g_07_jaildoorfakesc.psc

23 lines
484 B
Plaintext

ScriptName _00E_NQ_G_07_JailDoorFakeSC extends ObjectReference
Message Property _00E_NQ_G_07_EscapePrisonMSG Auto
Message Property _00E_MQ17_TempleDoorBlocked Auto
Quest Property NQ_G_07Dijaam Auto
Event OnInit()
Self.BlockActivation(true)
EndEvent
Event OnActivate(ObjectReference akActionRef)
If akActionRef == Game.GetPlayer()
If NQ_G_07Dijaam.IsActive() == true
_00E_NQ_G_07_EscapePrisonMSG.Show()
Else
_00E_MQ17_TempleDoorBlocked.Show()
EndIf
EndIf
EndEvent