Skip to content

llDetectedType

  • DirectoryllDetectedType integer
    • Number integer

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

}