What it does
particles.setEmitRate sets EmitRate on a particles object. It takes id and rate.
Signature
particles.setEmitRate(id, rate)Arguments
idrate
Example · generated
function start() { particles.create('main', 10); particles.setEmitRate('main', 20);}particles.create is there to give the call something to act on; particles.setEmitRate is the line that matters. The code sits in start(), which the engine calls once, when the entity spawns.