First explain what you're actually trying to do. If it's a ProjectileDetonationFX you're after, then first make sure there actually is a projectile to detonate in the first place. Projectile-less weapons like machine guns can't have detonation FX, ever.