OsListAs*

From OpenSimulator

Revision as of 12:39, 9 May 2025 by Ubit (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
integer osListAs(list src, integer index)

integer osListAsInteger(list src, integer index)
float osListAsFloat(list src, integer index)
string osListAsString(list src, integer index)
vector osListAsVector(list src, integer index)
rotation osListAsRotation(list src, integer index)

return the element at index as integer, float, string, vector or rotation. Index must me >= 0 only and the element on the list must be of the requested type. Because of this restrictions, 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


General
About This Wiki