now i did it this way:


Quote:
var trace_target[3];

vec_set(trace_target,player.x);
vec_rotate(trace_target, player.pan);
vec_add(trace_target, vector(1000,0,0));

c_trace(player.x,trace_target,IGNORE_ME|IGNORE_PASSABLE|USE_BOX);


shouldn't that trace all the things 1000 pixels (or what it is?) in front of the player?
and then in combinations with...

Quote:
action door_schalter()
{
my.emask |= (ENABLE_SCAN);
my.event = scan_event;
}


.. this on the door it should get ..
Quote:
function scan_event()
{
}


.. here?

it doesnt smirk


My System:
Intel Core 2 Duo CPU P8400 @ 2.26 GHz
4 GB Ram
NVIDIA GeForce 9600M GT
32 Bit Windows Vista
***********************************
Gamestudio Pro 7.50 / WED V6.875