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.

A.214. llSitTargetAppendix A. <strong>Linden</strong> Library FunctionsllSitTarget(vector offset, rotation rot);Set the sit location for this object. If offset == ZERO_VECTOR clear the sit target.A.215. llSleepllSleep(float sec);Puts the script to sleep for sec seconds.A.216. llSqrtfloat llSqrt(float val);Returns the square root of val. If val is less than 0.0, this function returns 0.0 and raises a math runtime error.A.217. llStartAnimationllStartAnimation(string anim);This function starts animation anim for the avatar that owns the object.Valid strings for animhold_R_bazookahold_R_handgunhold_R_rifleHolds the appropriately shaped weapon in the right hand. Automatically switches to the aims (below) whenuser enters mouse lookaim_R_bazookaaim_R_handgunaim_R_rifleAims the appropriately shaped weapon along the direction the avatar is looking.80

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

Saved successfully!

Ooh no, something went wrong!