CLuaParticle/GetLifeTime

From Garry's Mod
Jump to: navigation, search
 CLuaParticle:GetLifeTime( )

Description

Returns the 'life time' of the particle, how long the particle existed since its creation.

This value will always be between 0 and CLuaParticle:GetDieTime.
It changes automatically as time goes.

It can be manipulated using CLuaParticle:SetLifeTime.
If the life time of the particle will be more than CLuaParticle:GetDieTime, it will be removed.

Returns

number

How long the particle existed, in seconds.
Personal tools
Navigation