CLuaParticle/SetLifeTime

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

Description

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

This value should always be between 0 and CLuaParticle:GetDieTime.
It changes automatically as time goes.
If the life time of the particle will be more than CLuaParticle:GetDieTime, it will be removed.

Arguments

number lifeTime

The new life time of the particle.
Personal tools
Navigation