ll.LinkParticleSystem

ll.LinkParticleSystem(LinkNumber: number, Rules: list) : ()

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.

Example

ll.LinkParticleSystem(2, {})
{
  "def": "func",
  "desc": "Creates a particle system in prim LinkNumber based on Rules. An empty list removes a particle system from object.\nList format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].\nThis is identical to llParticleSystem except that it applies to a specified linked prim and not just the prim the script is in.",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlLinkParticleSystem",
  "name": "LinkParticleSystem",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "()"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "LinkNumber",
          "desc": "Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Rules",
          "desc": "Particle system rules list in the format [ rule1, data1, rule2, data2 . . . ruleN, dataN ]",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll