Advertisement
Miyushu

Untitled

Feb 12th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. default
  2. {
  3. touch_start(integer x)
  4. {
  5. //This gets the coords for the buttons for the EZPZ HUD
  6. vector Coords = llDetectedTouchUV(0);
  7.  
  8. //The following coords are for the buttons on EZPZ HUD Main Page
  9.  
  10. if (Coords.x> 0.17722 && Coords.x< 0.80410) //STYLE BUTTON
  11.  
  12. if (Coords.y> 0.77919 && Coords.y< 0.84305) //STYLE BUTTON
  13.  
  14. if (Coords.x> 0.04276 && Coords.x< 0.94532) //COLOR/TEXTURE BUTTON
  15.  
  16. if (Coords.y> 0.66308 && Coords.y< 0.73272) //COLOR/TEXTURE BUTTON
  17.  
  18. if (Coords.x> 0.04517 && Coords.x< 0.94598) //CONFIG BUTTON
  19.  
  20. if (Coords.x> 0.54562 && Coords.x< 0.61839) //CONFIG BUTTON
  21.  
  22. if (Coords.x> 0.08812 && Coords.x< 0.90251) //SETTINGS BUTTON
  23.  
  24. if (Coords.x> 0.37033 && Coords.x< 0.43630) //SETTINGS BUTTON
  25.  
  26. if (Coords.x> 0.16697 && Coords.x< 0.78292)//SAVE BUTTON
  27.  
  28. if (Coords.x> 0.28025 && Coords.x< 0.34584) //SAVE BUTTON
  29.  
  30. if (Coords.x> 0.03713 && Coords.x< 0.95063) //MANAGER USERS BUTTON
  31.  
  32. if (Coords.x> 0.18518 && Coords.x< 0.23397) //MANAGER USERS BUTTON
  33.  
  34. if (Coords.x> 0.02434 && Coords.x< 0.40539) //FAQS
  35.  
  36. if (Coords.x> 0.09652 && Coords.x< 0.16398) //FAQS
  37.  
  38. if (Coords.x> 0.45938 && Coords.x< 0.95900) //UPDATE
  39.  
  40. if (Coords.x> 0.09573 && Coords.x< 0.16303) //UPDATE
  41.  
  42. if (Coords.x> 0.03440 && Coords.x< 0.95416)//LUCKICLIK
  43.  
  44. if (Coords.x> 0.02433 && Coords.x< 0.07967) //LUCKICLIK
  45.  
  46.  
  47.  
  48. {
  49. llOwnerSay("You pressed a button");
  50. }
  51. }
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement