Difference between revisions of "Particles:setParticleTag"

From GiderosMobile
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' in development<br/>
 
'''Available since:''' in development<br/>
 +
'''Class:''' [[Particles]]<br/>
 +
 
=== Description ===
 
=== Description ===
<translate>set the tag associated to the given particle.</translate>
+
Sets the tag associated to the given particle.
<source lang="lua">
+
<syntaxhighlight lang="lua">
Particles:setParticleTag(i,tag)
+
Particles:setParticleTag(i,tag)
</source>
+
</syntaxhighlight>
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''i''': (number) <translate>particle index</translate> <br/>
+
'''i''': (number) particle index<br/>
'''tag''': (string) <translate>tag to associate to this particle</translate> <br/>
+
'''tag''': (string) tag to associate to this particle<br/>
 +
 
 +
{{Particles}}

Latest revision as of 21:58, 21 September 2023