//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: • Snow Particle Generator (Schnee) • Sim Crash Logger • Online Indicator • Fire Particle • MRTG • Texture Dropper • Raspberry Pi • Linux-Mediacenter (Linux MCE) • Give Item • Touch