ll.SetAnimationOverride

ll.SetAnimationOverride(AnimationState: string, AnimationName: string) : ()

Sets the animation (in object inventory) that will play for the given animation state. To use this function the script must obtain the PERMISSION_OVERRIDE_ANIMATIONS permission.

Example

ll.SetAnimationOverride('test', 'test')
{
  "def": "func",
  "desc": "Sets the animation (in object inventory) that will play for the given animation state.\nTo use this function the script must obtain the PERMISSION_OVERRIDE_ANIMATIONS permission.",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlSetAnimationOverride",
  "name": "SetAnimationOverride",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "()"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "AnimationState",
          "desc": "",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "AnimationName",
          "desc": "",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll