Difference between revisions of "LlDetectedName"

From Second Life Wiki
Jump to navigation Jump to search
(+example)
(+example)
Line 9: Line 9:
|caveats={{HoverText|empty string|""}} might mean {{HoverText|NULL_KEY|"00000000-0000-0000-0000-000000000000"}} in this case...
|caveats={{HoverText|empty string|""}} might mean {{HoverText|NULL_KEY|"00000000-0000-0000-0000-000000000000"}} in this case...
|constants
|constants
|examples=<pre>
|examples=
default
<div style="margin:0.4em 0em 0.5em 0em;border:1px solid #AAAAAA;line-height:1.1em;font-family: Courier New, Courier, mono;padding-top: 0.5em;padding: 0.5em 0em 0.5em 0.5em;">
{
<div style="color: #A00000;">default</div>
    touch_start(integer num)
}<div>{</div>
    {
<div>{{Tab}}<span style="color:steelblue;">touch_start</span>(<span style="color: #007700;">integer</span> num)</div>
        llSay(0,llDetectedName(0);
<div>{{Tab}{</div>
    }
<div>{{Tab|2}}<span style="color: #A00000">llSay</span><span style="color: black">(0,</span><span style="color:#A00000">llDetectedName</span>(0));</div>
}
<div>{{Tab}}}</div>
</pre>
<div>}</div>
</div>
|helpers
|helpers
|also_functions
|also_functions

Revision as of 23:19, 30 May 2007

{{LSL_Function |func_id=31|func_sleep=0.0|func_energy=10.0 |sort=DetectedName |func=llDetectedName|return_type=string|p1_type=integer|p1_name=number |func_footnote=Returns an empty string if number is not with in range. |func_desc |return_text=that is the name of detected object or avatar number |spec |caveats=empty string might mean NULL_KEY in this case... |constants |examples=

default
}
{
{{#pad:|

24

| |right}}touch_start(integer num)
{{Tab}{
{{#pad:|

48

| |right}}llSay(0,llDetectedName(0));
{{#pad:|

24

| |right}}}
}

|helpers |also_functions |also_events |also_articles=|-style="vertical-align:top;" | style="color:gray;" |•  | Detected | style="color:gray;" | | | |notes }}