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 arctangent2 of y, xA.11. llAttachToAvatarllAttachToAvatar(key avatar, integer attachment);Attach to avatar at point attachment. Requires the PERMISSION_ATTACH runtime permission.A.12. llAvatarOnSitTargetkey llAvatarOnSitTarget(void);If an avatar is sitting on the sit target, return the avatar’s key, NULL_KEY otherwise. This only will detectavatars sitting on sit targets defined with llSitTarget.A.13. llAxes2Rotrotation llAxes2Rot(vector fwd, vector left, vector up);Returns the rotation represented by coordinate axes fwd, left, and up.A.14. llAxisAngle2Rotrotation llAxisAngle2Rot(vector axis, float angle);Returns the rotation generated angle about axis.A.15. llBreakAllLinksllBreakAllLinks(void);37

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

Saved successfully!

Ooh no, something went wrong!