Scriptname TescosLITSCastleLurkDrawbridge extends ObjectReference  

{Handles the animation of the Lurk Castle Drawbridge.}  

ObjectReference Property drawBridge Auto

auto state open 
        Event OnActivate(ObjectReference akActionRef)
                drawBridge.PlayGamebryoAnimation("Forward", abStartOver = true)                 
                GotoState("closed")
        EndEvent
endState

state closed
        Event OnActivate(ObjectReference akActionRef)
                drawBridge.PlayGamebryoAnimation("Backward", abStartOver = true)  
                GotoState("open") 
        EndEvent
endState


