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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix A. <strong>Linden</strong> Library FunctionsRemove the slice from the list and return the remainder. The start and end are inclusive, so 0, length - 1would delete the entire list and 0,0 would delete the first list entry. Using negative numbers for start and/orend causes the index to count backwards from the length of the list, so 0,-1 would delete the entire list. Ifstart is larger than end the list deleted is the exclusion of the entries, so 6,4 would delete the entire list exceptfor the 5 th list entry.A.26. llDeleteSubStringstiring llDeleteSubString(string src, integer start, integer end);Removes the indicated substring and returns the result. The start and end are inclusive, so 0,length-1 woulddelete the entire string and 0,0 would delete the first character. Using negative numbers for start and/or endcauses the index to count backwards from the length of the string, so 0,-1 would delete the entire string. Ifstart is larger than end the sub string is the exclusion of the entries, so 6,4 would delete the entire stringexcept for the 5 th character.A.27. llDetachFromAvatarllDetachFromAvatar(key avatar);Drop off of avatar.A.28. llDetectedGrabvector llDetectedGrab(integer number);Returns the grab offset of detected object number. Returns if number is not valid sensed object.A.29. llDetectedKeykey llDetectedKey(integer number);Returns the key of detected object number. Returns NULL_KEY if number is not valid sensed object.40

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

Saved successfully!

Ooh no, something went wrong!