Difference between revisions of "LlDetectedOwner"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 23: Line 23:
|helpers
|helpers
|also_functions=
|also_functions=
{{LSL DefineRow||[[llGetOwnerKey]]|llGetOwnerKey() is the same as llDetectedOwner(0)}}
{{LSL DefineRow||[[llGetOwnerKey]]|llGetOwnerKey(llDetectedKey(0)) is the same as llDetectedOwner(0)}} only if the detected object is in the same region.
{{LSL DefineRow||[[llGetOwner]]|}}
{{LSL DefineRow||[[llGetOwner]]|}}
|also_events
|also_events

Revision as of 16:03, 16 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(llDetectedKey(0)) is the same as llDetectedOwner(0) only if the detected object is in the same region.
•  llGetOwner

Articles

•  Detected

Deep Notes

Search JIRA for related Issues

Signature

function key llDetectedOwner( integer number );