Code:
var scan_indicator = 0;
#define SCAN_PLAYER 1
#define SCAN_EXPLOSION 2
...
scan_indicator = SCAN_EXPLOSION;
c_scan(my.x,my.pan,vector(150,150,150),SCAN_ENTS | SCAN_LIMIT );
...
if (event_type == EVENT_SCAN && scan_indicator == SCAN_EXPLOSION)



"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends