llSensorRepeat
Function Syntax
void llSensorRepeat(
- string Name, // Object or avatar name.
- key ID, // Object or avatar UUID.
- integer Type, // Bit-field mask of AGENT, AGENT_BY_LEGACY_NAME, AGENT_BY_USERNAME, ACTIVE, PASSIVE, and/or SCRIPTED
- float Range, // Distance to scan. 0.0 - 96.0m.
- float Arc, // Angle, in radians, from the local x-axis of the prim to scan.
- float Rate // Period, in seconds, between scans.
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.