Touch

//touch switch
 
integer Switch = FALSE;
 
default
{
    state_entry()
    {
        llSleep(0.5);
    }
    touch_start(integer total_number)
    {
        if(Switch == FALSE)
        {
            Switch = TRUE;
            llSay(0, "On");
        }
        else
        {
            Switch = FALSE;
            llSay(0, "Off");
        }
    }
}
Navigation

Alternative Startseite
Helpdesk
Links
Maps
Radio
Suchmaschine


Drucken/exportieren