chronicsilence 12 Posted October 5, 2015 I'm looking for a way to detect bullets that pass near by a player. I know you can use the "firedNear" event handler and then track the path of the projectile to see where it lands, but it says it's limited to weapon firings that happen within ~70m (it's also rather performance intensive to track every bullet within a large radius). I know there are some suppression mods that do this, but after opening up the source code (for LAxemann's Suppress mod) it's not obvious how it's detecting those incoming bullets. Does anyone have any suggestions for a decent way to do this? Share this post Link to post Share on other sites
chronicsilence 12 Posted October 17, 2015 Anyone have any suggestions? Share this post Link to post Share on other sites
Jona33 51 Posted October 17, 2015 Check if getSuppression works on a player unit https://community.bistudio.com/wiki/getSuppression Share this post Link to post Share on other sites
IndeedPete 1038 Posted October 17, 2015 nearestObject [player, "BulletBase"] That will detect close by projectiles. Returns null if there is none. Keep in mind that bullets are travelling quite fast thus it might not trigger every time. 1 Share this post Link to post Share on other sites