ll.SensorRepeat(Name: string, ID: uuid, Type: number, Range: number, Arc: number, Rate: number) : ()
Initiates a periodic scan every Rate seconds, for Name and ID with Type (AGENT, ACTIVE, PASSIVE, and/or SCRIPTED) within Range meters and Arc radians of forward vector. Specifying a blank Name, 0 Type, or NULL_KEY ID will prevent filtering results based on that parameter. A range of 0.0 does not perform a scan. Results are returned in the sensor and no_sensor events.
ll.SensorRepeat(
'test',
uuid('677bf9a4-bba5-4cf9-a4ad-4802a0f7ef46'),
3,
3.14,
3.14,
3.14
)
{
"def": "func",
"desc": "Initiates a periodic scan every Rate seconds, for Name and ID with Type (AGENT, ACTIVE, PASSIVE, and/or SCRIPTED) within Range meters and Arc radians of forward vector.\nSpecifying a blank Name, 0 Type, or NULL_KEY ID will prevent filtering results based on that parameter. A range of 0.0 does not perform a scan.\nResults are returned in the sensor and no_sensor events.",
"energy": 10,
"sleep": 0,
"pure": false,
"link": "https://wiki.secondlife.com/wiki/LlSensorRepeat",
"name": "SensorRepeat",
"signatures": [
{
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
"()"
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "Name",
"desc": "Object or avatar name.",
"type": [
"string"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "ID",
"desc": "Object or avatar UUID.",
"type": [
"uuid",
"string"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Type",
"desc": "Bit-field mask of AGENT, AGENT_BY_LEGACY_NAME, AGENT_BY_USERNAME, ACTIVE, PASSIVE, and/or SCRIPTED",
"type": [
"integer",
"number"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Range",
"desc": "Distance to scan. 0.0 - 96.0m.",
"type": [
"number"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Arc",
"desc": "Angle, in radians, from the local x-axis of the prim to scan.",
"type": [
"number"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Rate",
"desc": "Period, in seconds, between scans.",
"type": [
"number"
],
"variadic": false,
"optional": false
}
]
}
]
}