ll.GetAndResetTime

ll.GetAndResetTime () -> number

Returns the script time in seconds and then resets the script timer to zero. Gets the time in seconds since starting and resets the time to zero.

Example

ll.GetAndResetTime()
Raw function spec json
{
  "def": "func",
  "desc": "Returns the script time in seconds and then resets the script timer to zero.\nGets the time in seconds since starting and resets the time to zero.",
  "energy": 10,
  "sleep": 0,
  "must_use": false,
  "link": "https://wiki.secondlife.com/wiki/LlGetAndResetTime",
  "private": false,
  "takesSelf": false,
  "name": "GetAndResetTime",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "optional": false
        }
      ],
      "args": []
    }
  ]
}

< Back to ll