SHARE
TWEET

Untitled

a guest Jun 19th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. float volume = 0.5;
  2. integer LtSwitch = FALSE;
  3.  
  4. key    open_sound  = "8eae9c2b-3caa-477c-964d-c3752c23eddb";
  5.  
  6. default
  7. {
  8. touch_start(integer total_number)
  9. {
  10. if(LtSwitch == FALSE)
  11. {
  12. LtSwitch = TRUE;
  13. llTriggerSound(open_sound, volume);    
  14. llShout(1701, "On");
  15. }
  16. else
  17. {
  18. LtSwitch = FALSE;
  19. llTriggerSound(open_sound, volume);  
  20. llShout(1701, "Off");
RAW Paste Data
Challenge yourself this year...
Learn something new in 2017
Top