Ok so I was going through the .lua files for the particle systems stool and stumbled upon DoPropSpawnedEffect, which seemed to be the line that actually started the effect code referenced here:
[code]
local particlesystem = ents.Create( "particle_sent" )
if (!particlesystem:IsValid()) then return false end
particlesystem:SetModel( Model )
particlesystem:SetAngles( Ang )
particlesystem:SetPos( Pos )
particlesystem:SetParticleEffectName( effect )
particlesystem:SetStartOn( starton )
particlesystem:Spawn()
particlesystem:SetToggle(toggle)
particlesystem:SetLoop(loop)
particlesystem:SetDelay(delay)
particlesystem.ActivateOnDamage = ( damageable == 1 )
particlesystem:SetPlayer( pl )
[/code]
I looked it up on the Gmod Lua wiki but didn't find anything. So if anyone has [i]any[/i] information regarding this function that would be great.
It's the hook that makes that blueish glow when you spawn a prop, correct me if I'm wrong.
-snip- Looks like I just broke my php.
It's in gamemodes/sandbox/gamemode/prop_tools.lua
Line: 41
Sorry, you need to Log In to post a reply to this thread.