Initially closed open and closed as well as the events in red color which may trigger transition from one state to another.
Sl pay locking door script.
It hollows out to 90 the second prim.
This doesn t need a special prim just size a normal cube into the size you want for the door and use the script that you will find below but read the rest of this first.
Every lsl script works as a finite state machine fsm.
Connectable to our optional multi groups server or casperlet plugin to buy separately.
The script above contains the three possible states in which the door object can be i e.
For a more sophisticated door script check out the deluxe door on the lsl wiki site.
Must be in the root prim of the door link set.
For a swimming pool put this into the root prim of a two prim swimming pool cover or door.
An alternative is the sliding door.
Download better quality video source code at www slb.
Easy to configure in few menu clicks 180 textures by selector.
In the root prim you will need 3 rezzable objects simple cubes will do named open close and lock with in them the corresponding scripts see at the bottom of the page in order to play sounds at the right place.