Difference between revisions of "LlDetectedOwner"

From Second Life Wiki
Jump to navigation Jump to search
Line 9: Line 9:
|caveats
|caveats
|constants
|constants
|examples
|examples=
<pre>
list MAIN_MENU = ["1", "2"];
 
default
{
    state_entry()
    {
        llDialog(llDetectedOwner(0), "configure switch", MAIN_MENU, 42);
    }
}
</pre>
|helpers
|helpers
|also_functions
|also_functions=
{{LSL DefineRow||[[llGetOwnerKey]]|llGetOwnerKey() is the same as llDetectedOwner(0)}}
{{LSL DefineRow||[[llGetOwnder]]|}}
|also_events
|also_events
|also_articles={{LSL DefineRow||{{LSLGC|Detected}}|}}
|also_articles={{LSL DefineRow||{{LSLGC|Detected}}|}}

Revision as of 18:32, 13 June 2007

Summary

Function: key llDetectedOwner( integer number );
0.0 Forced Delay
10.0 Energy

Returns a key that is the UUID of the owner of the object.

• integer number

number does not support negative indexes. Returns an empty key if number is not valid sensed object

Caveats

  • If number is out of bounds the script continues to execute without an error message.

Examples

list MAIN_MENU = ["1", "2"];

default
{
    state_entry()
    {
        llDialog(llDetectedOwner(0), "configure switch", MAIN_MENU, 42);
    }
}

See Also

Functions

•  llGetOwnerKey llGetOwnerKey() is the same as llDetectedOwner(0)
•  llGetOwnder

Articles

•  Detected

Deep Notes

Signature

function key llDetectedOwner( integer number );