Key Pad Door

From Second Life Wiki
Revision as of 16:25, 3 March 2007 by Tdub Dowler (talk | contribs)
Jump to navigation Jump to search

This keypad Door is composed of 3 scripts, one for the door, one for the keypad, and one for each keypad button. Below is the script for the button:

default
{
    state_entry()
    {
        llSay(0, "Hello, Avatar!");
    }

    touch_start(integer total_number)
    {
        llSay(0, "Touched.");
    }
}