Garry's Mod Wiki

CLuaParticle:GetLifeTime

number 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

1 number
How long the particle existed, in seconds.

Page Links


Special Pages


Wikis

?

Render Time: 33ms

DB GetPage 2
Generate Html 4
SaveChanges (1) 12
Render Body 0
Render Sidebar 12