void main()
{
object oDoor=GetObjectByTag("jw_magxdr_in");
//SetCommandable(0,OBJECT_SELF);
ClearAllActions();
//ActionMoveToObject(oDoor,FALSE,2.0);
ActionOpenDoor(oDoor);
//ActionSpeakString("*Unlocks the door*");
//ActionOpenDoor(oDoor);
ActionForceMoveToObject(GetWaypointByTag("PLACE_jw_zen_magard"));
//SetCommandable(1,OBJECT_SELF);
ActionDoCommand(SetFacingPoint(GetPosition(oDoor)));

}