Medigun beam particle effect stopped working all of the sudden
0 replies, posted
So I was working on something using the particle effect "medicgun_beam_blue" and at first it was working. The code I am using is this:
[CODE]
PrecacheParticleSystem("medicgun_beam_blue")
local pl = LocalPlayer()
local tr = pl:GetEyeTraceNoCursor()
--Control Points
local CPoint0 = {
["entity"] = pl,
["attachtype"] = PATTACH_ABSORIGIN_FOLLOW,
}
local CPoint1 = {
["entity"] = tr.Entity,
["attachtype"] = PATTACH_ABSORIGIN_FOLLOW,
}
--Create the particle effect!
pl:CreateParticleEffect("medicgun_beam_blue",{CPoint0,CPoint1})
[/CODE]
Now all of the sudden its telling me that this is an unknown particle effect when I try to precache or create it.
I've tried validating tf2 files but that did nothing.
Sorry, you need to Log In to post a reply to this thread.