I been looking around on facepunch at all the "All you need to know about particles" and "so you want to learn lua" but not of them truely explain on how I could attach a particle effect onto a world model of a weapon, and I was wondering if anyone can help me.
So far I have:
if ( !self:GetEnabled() ) then
ParticleEffectAttach( "dark_fizzle", 4, what should be here??,
Entity:LookupAttachment("anim_attachment_RH") )
end
I know I need to include ( I think atleast )
Entity:StopParticles()
PrecacheParticleSystem("dark_fizzle")
ParticleEffect("dark_fizzle", Vector(0,0,0), Angle(0,0,0))
What i do is look at someone else code that has a practical come off theres and see how they have done it that is the best help i can give you or i will test it out and see if u can get it working and i will explain the steps
[QUOTE=GroovyGooby;50726054]
[CODE]
ParticleEffectAttach( "dark_fizzle", 4, what should be here??,
Entity:LookupAttachment("anim_attachment_RH") )
[/CODE]
[/QUOTE]
[CODE]ParticleEffectAttach("dark_fizzle",4,Entity,Entity:LookupAttachment("anim_attachment_RH"))[/CODE]
Entity??
thanks
Sorry, you need to Log In to post a reply to this thread.