Difference between revisions of "Particles:setParticleTtl"

From GiderosMobile
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 +
'''Class:''' [[Particles]]<br/>
 +
 
=== Description ===
 
=== Description ===
set time to live
+
Sets time to live of a particle.
<source lang="lua">
+
<syntaxhighlight lang="lua">
Particles:setParticleTtl(i,ttl)
+
Particles:setParticleTtl(i,ttl)
</source>
+
</syntaxhighlight>
'''i''': (number) index of particle ''''''<br/>
+
 
'''ttl''': (number) time to live in seconds ''''''<br/>
+
=== Parameters ===
 +
'''i''': (number) index of particle<br/>
 +
'''ttl''': (number) time to live in seconds<br/>
 +
 
 +
{{Particles}}

Latest revision as of 21:59, 21 September 2023