search for CLIPPED:

Code:
Tells wether an entity is potentially visible or not, i.e. whether it was clipped away by the culling process during the last frame. Can be evaluated for running entity functions - for instance, particles - depending on its visibility.

if (!(my.eflags&CLIPPED)) { emit_particles(); } // lite-C




3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB