llDetectedName

From Second Life Wiki
Jump to navigation Jump to search

Summary

Function: string llDetectedName( integer number );
0.0 Forced Delay
10.0 Energy

Returns a string that is the name of detected object or avatar number

• integer number

number does not support negative indexes. Returns an empty string if number is not with in range.

Caveats

  • If number is out of bounds the script continues to execute without an error message.empty string might mean NULL_KEY in this case...

Examples

default
{
    touch_start(integer num)
    {
        llSay(0,llDetectedName(0));
    }
}

See Also

Articles

•  Detected

Deep Notes

Signature

function string llDetectedName( integer number );