active round limiting / dud rounds
I made a gun
(using some of CaveCricket48's needler with permission) that fires bullets that stick and can be remotely detonated by pressing (F).
what I would like to do is two things, make it switch stuck rounds that are too close to the gun with duds
(I've made a custom one in the ini) and, only allow around 80 rounds to be stuck and undetonated at a time
(plays empty click) to reduce lag from having way too many stuck at once.
Would adding a ray to check the distance of the round create a lot of lag?
Any help you guys can offer is much appreciated.