Difference between revisions of "LlDetectedName"

From Second Life Wiki
Jump to navigation Jump to search
(oops...)
m
Line 14: Line 14:
     touch_start(integer num)
     touch_start(integer num)
     {
     {
         llSay(0,llDetectedName(0);
         llSay(0,llDetectedName(0));
     }
     }
}
}
Line 21: Line 21:
|also_functions
|also_functions
|also_events
|also_events
|also_articles={{LSL DefineRow||{{LSLGC|Detected}}|}}
|also_articles={{LSL DefineRow||[[Detected]]|}}
|notes
|notes
}}{{LSLC|Detected|name}}
}}{{LSLC|Detected|name}}

Revision as of 03:43, 31 May 2007

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 );