Difference between revisions of "LlDetectedPos"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 1: | Line 1: | ||
{{LSL_Function | {{LSL_Function/negative_index|false|number}}{{LSL_Function | ||
|func_id=35|func_sleep=0.0|func_energy=10.0 | |func_id=35|func_sleep=0.0|func_energy=10.0 | ||
|sort=DetectedPos | |sort=DetectedPos|func=llDetectedPos | ||
|func=llDetectedPos|return_type=vector|p1_type=integer|p1_name=number | |return_type=vector | ||
|p1_type=integer|p1_name=number | |||
|func_footnote=Returns {{LSLG|ZERO_VECTOR|<0.0, 0.0, 0.0>}} if number is not valid sensed object. | |func_footnote=Returns {{LSLG|ZERO_VECTOR|<0.0, 0.0, 0.0>}} if number is not valid sensed object. | ||
|func_desc | |func_desc | ||
Line 16: | Line 17: | ||
|notes | |notes | ||
|permission | |permission | ||
| | |cat1 | ||
|cat2 | |||
|cat3 | |||
|cat4 | |||
}}{{LSLC|Detected|pos}} | }}{{LSLC|Detected|pos}} |
Revision as of 12:02, 28 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: vector llDetectedPos( integer number );35 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a vector that is the position of detected object number.
• integer | number |
number does not support negative indexes. Returns <0.0, 0.0, 0.0> if number is not valid sensed object.
Caveats
- If number is out of bounds the script continues to execute without an error message.
Examples
See Also
Articles
• | Detected |