Garry's Mod Wiki

CLuaParticle:SetLifeTime

void CLuaParticle:SetLifeTime( number lifeTime )

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

1 number lifeTime
The new life time of the particle.

Page Links


Special Pages


Wikis

?

Render Time: 28ms

Session 0
DB GetPage 4
Generate Html 0
SaveChanges 9
Render Body 0
Render Sidebar 12