llDetectedTouchFace
Revision as of 18:17, 7 August 2007 by Homer Horwitz (talk | contribs) (New page: {{LSL_Function/negative_index|false|number}}{{LSL_Function |func_id |mode=request |func_sleep=0.0 |func_energy=10.0 |func=llDetectedLinkFace |sort=DetectedLinkFace |p1_type=integer|p1_name...)
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 | – | number |
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"