Linden Scripting Language Guide - Engineering Center
Linden Scripting Language Guide - Engineering Center
Linden Scripting Language Guide - Engineering Center
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
A.182. llSensorRepeatAppendix A. <strong>Linden</strong> Library FunctionsllSensorRepeat(string name, key id, integer type, float range, float arc, floatrate);Performs a single scan for name and id with type within range meters and arc radians of forward vectorand repeats every rate seconds. Specifying a blank name or NULL_KEY id will not filter results for anyparticular name or id A range of 0.0 cancels the scan. The type parameter should be an object type constantvlaue.A.183. llSetAlphallSetAlpha(float alpha, integer face);Sets the alpha value for face. If face is ALL_SIDES, set the alpha to all faces. The alpha value is interpretedas an opacity percentage - 1.0 is fully opaque, and 0.2 is mostly transparent. This api will clamp alpha valuesless 0.1 to .1 and greater than 1.0 to 1.A.184. llSetBuoyancyllSetBuoyancy(float buoyancy);Set the object buoyancy. A value of 0 is none, less than 1.0 sinks, 1.0 floats, and greater than 1.0 rises.A.185. llSetCameraAtOffsetllSetCameraAtOffset(vector offset);Sets the camera at offset used in this object if an avatar sits on it.A.186. llSetCameraEyeOffsetllSetCameraEyeOffset(vector offset);73