llDetectedType
integer llDetectedType(integer Number)Returns the type (AGENT, ACTIVE, PASSIVE, SCRIPTED) of detected object.
Returns 0 if number is not a valid index.
Note that number is a bit-field, so comparisons need to be a bitwise checked. e.g.:
integer iType = llDetectedType(0);
{
// ...do stuff with the agent
}
Parameters
-
Number(integer)
Examples
Section titled “Examples”Add example usage here.
Add additional notes, caveats, or tips here.
See Also
Section titled “See Also”- Related pages can be linked here