//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"); } } }
Zuletzt angesehen: • Linux-Mediacenter (Linux MCE) • LogMeIn Hamachi VPN • Hypergrid • Scripts • Media Viewer • Fire Particle • LogMeIn Hamachi VPN • Asterisk VoIP-Server • Dynamic Texture • Touch