ll.ListRandomize

ll.ListRandomize(ListVariable: list, Stride: number) : list

Returns a version of the input ListVariable which has been randomized by blocks of size Stride. If the remainder from the length of the list, divided by the stride is non-zero, this function does not randomize the list.

Example

ll.ListRandomize({}, 6)
{
  "def": "func",
  "desc": "Returns a version of the input ListVariable which has been randomized by blocks of size Stride.\nIf the remainder from the length of the list, divided by the stride is non-zero, this function does not randomize the list.",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlListRandomize",
  "name": "ListRandomize",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "list"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "ListVariable",
          "desc": "",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Stride",
          "desc": "",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll