ParticlesName

Family: Studio · One form

What it does

ParticlesName takes particlesID (an integer) and name (a string), and returns nothing. particlesID is the id of a Particles object, the one CreateParticles returned: it is how the call knows what to act on.

Syntax

ParticlesName(particlesID integer, name string)

Parameters

NameType
particlesIDinteger
namestring

Every form returns

nothing

Example · generated

particles = CreateParticles(100.0, 120.0)ParticlesName(particles, "player")DO  Sync()LOOP

CreateParticles is there to give the call something to act on; ParticlesName is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

106 commands in Studio