Difference between revisions of "LlDetectedOwner"

From Second Life Wiki
Jump to navigation Jump to search
m
m (oops ^^;)
Line 23: Line 23:
|helpers
|helpers
|also_functions=
|also_functions=
{{LSL DefineRow||[[llGetOwnerKey]]|llGetOwnerKey(llDetectedKey(0)) is the same as llDetectedOwner(0)}} only if the detected object is in the same region.
{{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 15:04, 16 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(llDetectedKey(0)) is the same as llDetectedOwner(0) only if the detected object is in the same region.
•  llGetOwner

Articles

•  Detected

Deep Notes

Signature

function key llDetectedOwner( integer number );