Difference between revisions of "LlDetectedOwner"

From Second Life Wiki
Jump to: navigation, 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 );

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

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

Search JIRA for related Issues

Signature

function key llDetectedOwner( integer number );