I’ve got a small weapon I’m working on and I recently tried to get some particle effects to shoot from it. The swep returns no errors but particles only appear at a fixed point on the map.
Here is the code I added that produced this.
a =Vector(self.Owner:GetPos()) b =Vector(self.Owner:EyePos()) local pt = util.ParticleTracerEx( "vortigaunt_beam", a, b, true, self.Owner:EntIndex(), 1 )
It’s supposed to start at the owners position, then end at the aim vector of the owner. But it’s just kinda chilling there like silly particles man.