ScriptName SE32BatGroOrkulSpellScript
Short LockLevel ; hold locklevel so it can be reset properly
Begin ScriptEffectStart
If GetSelf == Player
SE32ArmoryDoorRef.SetOpenState 0
SE32ArmoryDoorRef.Lock 1 ; reset the lock level
Set SE32BatGroOrkulRef.SpellCast to 0
SE32BatGroOrkulRef.MoveTo SE32BatReturnMarker
SE32BatGroOrkulRef.EVP
MoveTo SE32PlayerDestination ; teleport the player out of the room
EndIf
End
|