Object.DoorTo(string filename, integer x, integer y)
It indicates the object is a door to the screen defined by the first parameter.
function Main() { DoorHall=CreateInvisibleObject("781,364,699,193,704,30,788,43,783,44,781,226,781,364");
DoorHall.description="Door to the hall.";
DoorHall.DoorTo("hall",190,185);
}
Get the latest version here.