Difference between revisions of "LlDetectedTouchFace"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
m (Additional 'See also' info.) |
|||
Line 23: | Line 23: | ||
|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" | ||
This feature request is posted on JIRA at [http://jira.secondlife.com/browse/SVC-519 SVC-519]. Please go and vote for it if you want this issue implemented. | This feature request is posted on JIRA at [http://jira.secondlife.com/browse/SVC-519 SVC-519]. Please go and vote for it if you want this issue implemented. | ||
See also SCV-574 (deprecated) and SVC-1902 (active) for related solutions. | |||
|cat1 | |cat1 | ||
|cat2 | |cat2 | ||
}} | }} |
Revision as of 15:00, 2 June 2008
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 llDetectedFace( 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"
This feature request is posted on JIRA at SVC-519. Please go and vote for it if you want this issue implemented.
See also SCV-574 (deprecated) and SVC-1902 (active) for related solutions.