Difference between revisions of "LlDetectedName"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 21: Line 21:
|also_functions
|also_functions
|also_events
|also_events
|also_articles={{LSL DefineRow||[[Detected]]|}}
|also_articles={{LSL DefineRow||{{LSLGC|Detected}}|}}
|notes
|notes
}}{{LSLC|Detected|name}}
}}{{LSLC|Detected|name}}

Revision as of 04:43, 31 May 2007

Summary

Function: string llDetectedName( integer number );

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...
All Issues ~ Search JIRA for related Bugs

Examples

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

See Also

Articles

•  Detected

Deep Notes

Search JIRA for related Issues

Signature

function string llDetectedName( integer number );