I tried whatever you mentioned even before I ask it here.
I mean when I c_scan and ignored the passable or flag2 or ignored the you entity this code still runs: c_scan(my.x,my.pan,vector(180,0,1000),ignore_me|ignore_passable); if (you==weapon) { exit; }