void main()
{
 object oDoor = GetObjectByTag("queendoor");
 SetLocked(oDoor, FALSE); // unlock the door
    ActionPlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE); // move the lever
    PlaySound("as_sw_lever1");
     ActionPlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
    AssignCommand(oDoor, PlaySound("gui_picklockopen"));
    ActionOpenDoor(oDoor);
}