So i have been hard at work on some gun systems. And I have a shotgun and an assault rifle, I can press 1 and 2 respectively to change the guns. the weapon mods in question change weapon damage, fire rate, and some other values. right now whenever I pick up a weapon mod it applies it to both. I need it to not do that and make it so that only assault rifle mods effect assault rifles. and vise versa. I can post pictures if anyone gets around to helping out
As a var make weapon ID types and Mod ID’s that match and when attaching Mod have a branch get the corresponding ID and only apply added damage to matching gun.