Difference between revisions of "Particles:setParticleTtl"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2016.06<br/>
+
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>set time to live</translate>
 
<translate>set time to live</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Particles:setParticleTtl(i,ttl)
 
  Particles:setParticleTtl(i,ttl)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''i''': (number) <translate>index of particle</translate> <br/>
 
'''i''': (number) <translate>index of particle</translate> <br/>
 
'''ttl''': (number) <translate>time to live in seconds</translate> <br/>
 
'''ttl''': (number) <translate>time to live in seconds</translate> <br/>

Revision as of 07:28, 24 August 2018

Available since: Gideros 2016.06

Description

set time to live

 Particles:setParticleTtl(i,ttl)

Parameters

i: (number) index of particle
ttl: (number) time to live in seconds