Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...