Skip to content

llLinkParticleSystem

function ll.LinkParticleSystem(LinkNumber: number, Rules: {any})

Creates a particle system in prim LinkNumber based on Rules. An empty list removes a particle system from object.

List format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].

This is identical to llParticleSystem except that it applies to a specified linked prim and not just the prim the script is in.

Parameters
LinkNumber (number)
Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
Rules ({any})
Particle system rules list in the format [ rule1, data1, rule2, data2 . . . ruleN, dataN ]

Add example usage here showing SLua/Luau syntax with ll.LinkParticleSystem().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.