OsListAs*
From OpenSimulator
(Difference between revisions)
Line 9: | Line 9: | ||
vector osListAsVector(list src, integer index)<br/> | vector osListAsVector(list src, integer index)<br/> | ||
rotation osListAsRotation(list src, integer index)<br/> | rotation osListAsRotation(list src, integer index)<br/> | ||
− | |description= | + | |description=Return the element at index as integer, float, string, vector or rotation. Index must me >= 0 and the element on at that position must be of the requested type. Because of this restrictions, This should be a bit faster than the llList2* functions |
|ossl_example= | |ossl_example= | ||
<source lang="lsl"> | <source lang="lsl"> |
Latest revision as of 12:40, 9 May 2025
integer osListAsInteger(list src, integer index)
float osListAsFloat(list src, integer index) | |
Return the element at index as integer, float, string, vector or rotation. Index must me >= 0 and the element on at that position must be of the requested type. Because of this restrictions, This should be a bit faster than the llList2* functions | |
Threat Level | This function does not do a threat level check |
Permissions | Use of this function is always allowed by default |
Extra Delay | 0 seconds |
Example(s) | |
Notes | |
add to 0.9.3.1 |