• If i have a particle file ( .pfc ) , do i need to create the particle in lua ?
    4 replies, posted
Do i need to make an effect file ( lua/entities/effects/<effect_name>/init.lua ) or can i just do a simple [LUA] local vPoint = Vector(0,0,0) local effectdata = EffectData() effectdata:SetStart( vPoint ) // not sure if we need a start and origin (endpoint) for this effect, but whatever effectdata:SetOrigin( vPoint ) effectdata:SetScale( 1 ) util.Effect( "<effect_name>", effectdata ) [/LUA] please answer
answer him i'am makeing the particle for him :D
XD heya, and thx for the bump, it didnt need it XD
yes you did
[b][url=http://wiki.garrysmod.com/?title=G.ParticleEffect]G.ParticleEffect [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] [b][url=http://wiki.garrysmod.com/?title=G.ParticleEffectAttach]G.ParticleEffectAttach [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
Sorry, you need to Log In to post a reply to this thread.