enderalse/source/scripts/_00e_mq08pressureplate.psc

15 lines
515 B
Plaintext

scriptName _00E_MQ08PressurePlate extends ObjectReference
event OnTriggerEnter(objectReference triggerRef )
if MQ08_IntoTheDeep.GetCurrentStageID() == 125 && triggerRef == Game.GetPlayer()
MQ08_IntoTheDeep.SetCurrentStageID(130)
Self.Activate(MQ08PortcullisRef, false)
MQ08PortcullisRef.PlayAnimation("Close")
MQ08PortcullisRef02.PlayAnimation("Open")
EndIf
endevent
Quest Property MQ08_IntoTheDeep Auto
ObjectReference Property MQ08PortcullisRef Auto
ObjectReference property MQ08PortcullisRef02 auto