key llDetectedKey( integer number );
Forced delay: 0.0 seconds. Energy: 10.0.
number does not support negative indexes.
Returns an empty key if number does not correspond to a valid sensed object or avatar.
Returns a key that is the UUID of the detected object or avatar number.
llDetected* functions only work if called from within Detection events (collision, collision_start, collision_end, sensor, touch, touch_start, touch_end) or in functions called by Detection events. They will fail silently and return unusable values if called during other events.
default
{
touch_start(integer num_detected)
{
llSay(0, "touch_start event: key of avatar touching: " + (string) llDetectedKey(0) );
}
}