Hello
The kit contains 2 different modifications of doors for different use cases. It uses the basic principles of opening and closing doors , and sliding it classic . All modifications doors are divided into two modes. The first mode - " stop strangers ." The second mode - "for all" . Scripts doors protected from strangers can be edited to favorites could open and close protected doors . To do this, edit the first line , you must enter the required amount of people you just as inscribed my name , which can be removed from the list. Where the button is used , the script also requires a button of this editing.
Present in all doors automatically close , which can be removed by changing the line "float Timer = 10.0;" on line "float Timer = 0.0;". The figure " 10.0" is the second of waiting until the door closes . The figure " 0.0 " disables avtozakrytie door.
All doors present sound. If you want some peace while working the door, get in the script line "llTriggerSound ( filename , 1.0) " and delete them. If you want to change the sound , replace the sound files on its using the same name. You can also add an audio file by adding it to the object and adding "llTriggerSound ( filename , 1.0) " in the right place script.
In the doorway where you must use the buttons to enter a unique channel of communication with the door button . This is important . For each such door need your own unique channel or own unique team . Find the line in the script button "llRegionSay (-35," door ");" In this case, " -35 " is the channel . A "door" is the command . The same procedure should be done in the script door. In the script, the door should find a line "llListen (-35," ", NULL_KEY," ");" to change the channel . Or all lines "if (message ==" door ")" to change the team.
If you do not want the text that appears when opening and closing the door , then get in these lines "llOwnerSay (" open ");" and delete them. In any case, this event writes only to the owner . And you can see when and how the door opened at the moment, but it should be at the owner location. Not all the doors you write when they are used . Here and there , I did not do it . You can add this event where you will miss him.
Description files:
1) Works naturally and quickly .
...
1_3 ) The classic way to open the door . This kind of script is focused on sculpture and other objects (not stiff ) . In this case, a sculptural object is in conjunction with the invisible prim_classic_door, so it seems that the door sculptural works independently. This type of door can not be used in conjunction other than their own .
1_3_1) sculpt_classic_door_all
1_3_2) sculpt_classic_door_stop_strangers
...
Enjoy using
These doors are taken from a set of doors №1. A complete set can be found in my store. Or find "A set of doors №1" in "Related Items".