integer llDetectedType(integer number)
Returns the detected
object type (
AGENT,
ACTIVE,
PASSIVE,
SCRIPTED)
number (returns 0 if number is not a valid sensed
object; other values are on
sensor).
Note: The return
value is a
bitfield, so comparisons need to be an
AND check:
Note: The
llDetected* functions will only return a meaningful value in the
collision(),
collision_start(),
collision_end(),
sensor(),
touch(),
touch_start(), or
touch_end() events.
Functions |
Detection |
Object Type