llDetectedTouchFace
Revision as of 03:08, 9 August 2007 by Homer Horwitz (talk | contribs) (LlDetectedLinkFace moved to LlDetectedFace: Won't return the link-number, but only the face-number. So, having "Link" in the name doesn't make much sense.)
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
LSL Feature Request | |
The described function does not exist. This article is a feature request. |
Summary
Function: integer llDetectedLinkFace( integer number );REQUEST | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns an integer that is the number of the face the avatar clicked on. If not supported by the event, returns -1
• integer | number | – | touch index |
number does not support negative indexes. For the touch category of events only.
Caveats
- If number is out of bounds the script continues to execute without an error message.
Examples
Notes
Should reduce prim-count for all button based gadgets. The data seems to be available anyway; it's used in the texture-selection mode of the object-"Edit"