daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Apr 22nd, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -------------------------------------------
  2. -- SHOW LIMB COUNTING DUMMY --
  3. -------------------------------------------
  4. function loadDummy()
  5. local width, height = getMainWindowSize();
  6.  
  7.  
  8. createLabel("headB",(width-140),20,40,40,1);
  9. setBackgroundColor("headB",200,200,200,250);
  10. setLabelClickCallback("headB","resetLimb","head")
  11. echo("headB", "<center> " .. headD .. " </center>");
  12.  
  13.  
  14. createLabel("torsoB",(width-140),65,40,80,1);
  15. setBackgroundColor("torsoB",200,200,200,250);
  16. setLabelClickCallback("torsoB","resetLimb","torso")
  17. echo("torsoB", "<center> " .. torsoD .. " </center>");
  18.  
  19.  
  20. createLabel("leftarmhit",(width-180),65,35,80,1);
  21. setBackgroundColor("leftarmhit",200,200,200,250);
  22. setLabelClickCallback("leftarmhit","resetLimb","leftarm")
  23. echo("leftarmhit", "<center> " .. leftarmhit .. " </center>");
  24.  
  25.  
  26. createLabel("rightarmhit",(width-95),65,35,80,1);
  27. setBackgroundColor("rightarmhit",200,200,200,250);
  28. setLabelClickCallback("rightarmhit","resetLimb","rightarm")
  29. echo("rightarmhit", "<center> " .. rightarmhit .. " </center>");
  30.  
  31.  
  32. createLabel("leftleghit",(width-160),150,35,80,1);
  33. setBackgroundColor("leftleghit",200,200,200,250);
  34. setLabelClickCallback("leftleghit","resetLimb","leftleg")
  35. echo("leftleghit", "<center> " .. leftleghit .. " </center>");
  36.  
  37.  
  38. createLabel("rightleghit",(width-115),150,35,80,1);
  39. setBackgroundColor("rightleghit",200,200,200,250);
  40. setLabelClickCallback("rightleghit","resetLimb","rightleg")
  41. echo("rightleghit","<center> " .. rightleghit .. " </center>");
  42.  
  43.  
  44. createLabel("breakB",(width-190),240,140,30,1);
  45. setBackgroundColor("breakB",0,0,0,250);
  46. echo("breakB","<center><font color=white><b>Breakpoint: " .. breakpoint .. "</font></center>");
  47. drawstuff()
  48. end
RAW Paste Data
Top