now i did it this way:
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...
action door_schalter()
{
my.emask |= (ENABLE_SCAN);
my.event = scan_event;
}
.. this on the door it should get ..
.. here?
it doesnt