Mhh. Maybe u can create a Map Entity (or model) of the levelpart. Then u could apply a script like this

Code:
action _Render_me_or_not()
{
 while(!player) wait(1); //wait for player entity
 while(1)
 {
    if (vec_dist(my.x,player.x) < 100) reset(my,INVISIBLE|PASSABLE);
    else set(my,INVISIBLE|PASSABLE);
   wait(2);
 }
}

This would set your levelpart invisible and passable if player is 100 away and show it when player is near.

Hope this helps?

Edit: If u mean that a wall gets invisible when camera is behind and player is infront, so that u can see the player. This is a bit more complicated. Never done it. Maybe u can make a c_trace from camera pos to see if it hits something. But that would mean, that u need to build your level with models or map entities cause i dont know a command to make blocks invisible. Maybe someone else.

Last edited by rayp; 03/08/12 20:44.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;