11.07.2015 Views

Linden Scripting Language Guide - Engineering Center

Linden Scripting Language Guide - Engineering Center

Linden Scripting Language Guide - Engineering Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix A. <strong>Linden</strong> Library FunctionsReturns the slice of the list from start to end from the list src as a new list. The start and end parametersare inclusive, so 0,length-1 would copy the entire list and 0,0 would capture the first list entry. Using negativenumbers for start and/or end causes the index to count backwards from the length of the list, so 0,-1 wouldcapture the entire list. If start is larger than end the list returned is the exclusion of the entries, so 6,4 wouldgive the entire list except for the 5 th entry.A.118. llList2ListStridedlist llList2ListStrided(list src, integer start, integer end, integer stride);Copy the strided slice of src from start to end.A.119. llList2Rotrotation llList2Rot(list src, integer index);Returns the rotation at index in src.A.120. llList2Stringstring llList2String(list src, integer index);Returns the string at index in src.A.121. llList2VectorllList2Vector(list src, integer index);Returns the string at index in src.A.122. llListFindListinteger llListFindList(list src, list test);59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!