void OnStart()
{
    SetLocalVarInt("doorUsed", 0);
    SetEntityPlayerInteractCallback("door_1", "doorInteract", false);
    SetEntityPlayerInteractCallback("door_1", "doorInteract", false);
}
void doorInteract(string &in entityName)
{
    if(entityName == "door_1") SetLocalVarInt("doorUsed", 1);
    if(entityName == "door_2") SetLocalVarInt("doorUsed", 2);
}
void OnLeave()
{
    switch(GetLocalVarInt("doorUsed"))    
    {
        case 1:
            SetupLoadScreen("loadTextCat", "loadTextEntry_1", 0, "img1.jpg");
        break;
        case 2:
            SetupLoadScreen("loadTextCat", "loadTextEntry_2", 0, "img2.jpg");
        break;
    }
}