//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: • Basic Dialog • Fire Particle • Chatbot • Pose • Randomly Moving • Asterisk VoIP-Server • Feed Reader • Performance • Sensor Door • Touch