LSL Wiki Mirror 10-5-2006: llDetectedKey

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::
key llDetectedKey(integer number)

Returns the key of detected object number (returns NULL_KEY if number is not valid sensed object).

Note: The llDetected* functions will only return a meaningful value in the collision(), collision_start(), collision_end(), sensor(), touch(), touch_start(), or touch_end() events.

Q: Is this a 0-based or 1-based index?
A: 0-based; This function starts counting at 0. -Chris


Functions | Detection | Sensors
There is no comment on this page. [Display comments/form]