Lever Library

From Second Life Wiki
Jump to navigation Jump to search

Description

Haravikk Mistral's Lever Library is a collection of scripts intended to provide scripters with a series of easy-to-use and flexible scripts for handling various standard types of controls such as buttons, levers, and more! All of these scripts are free to use and may be modified as you please, provided you credit the author in some form.

Scripts

Pivot Levers

A pivot lever describes a handle of some kind which rotates around a pivot point, and may be set into two or more positions along the circumference defined by this relationship. This could be as simple as a switch where the lever is rotated from on to off or it could be a multiple location lever which can be moved to any of a series of "notches" which may perform differing tasks.

Everyday pivot levers can be found in the form of a hand-brake in a car, or a twist handle in a door (where you push down or turn the handle to open).

Alternate Uses

Pivot lever scripts can also be used to implement other items, such as rotating dials that can only be moved through a series of set positions. Everyday examples of this include the dials/knobs on many kitchen ovens, or the scroll-wheel on a mouse.

Scripts

Touch Pivot Lever