Difference between revisions of "Particles:setParticleTtl"

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

Latest revision as of 20:59, 21 September 2023