Difference between revisions of "Particles:setParticleTtl"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === set time to live <source lang="lua"> = Particles:setParticleTtl(ittl,) </source> '''i:''' (number) in...")
 
 
(9 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(ittl,)
+
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 20:59, 21 September 2023