Difference between revisions of "LlDetectedTouchFace"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
(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...) |
m (requests don't belong in official categories, well built request otherwise.) |
||
Line 1: | Line 1: | ||
{{LSL_Function/negative_index|false|number}}{{LSL_Function | {{LSL_Function/negative_index|false|number|self=*}}{{LSL_Function | ||
|func_id | |func_id | ||
|mode=request | |mode=request | ||
Line 6: | Line 6: | ||
|func=llDetectedLinkFace | |func=llDetectedLinkFace | ||
|sort=DetectedLinkFace | |sort=DetectedLinkFace | ||
|p1_type=integer|p1_name=number|p1_desc= | |p1_type=integer|p1_name=number|p1_desc=touch index | ||
|func_footnote=For the {{LSLGC|Touch|touch}} category of events only. | |func_footnote=For the {{LSLGC|Touch|touch}} category of events only. | ||
|func_desc | |func_desc | ||
Line 22: | Line 22: | ||
|also_articles={{LSL DefineRow||{{LSLGC|Detected}}|}} | |also_articles={{LSL DefineRow||{{LSLGC|Detected}}|}} | ||
|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" | |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" | ||
|cat1 | |cat1 | ||
|cat2 | |cat2 | ||
}} | }} |
Revision as of 19:04, 7 August 2007
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"