Advertisement
Dorex

Untitled

Aug 3rd, 2023
2,181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //
  2. // this may be helpful for use in speedometer1()
  3. // for speedometer2  you'll need  if (num1 == 0)  num1 == 10;
  4. // to get the correct blank
  5.  
  6.  
  7. test(){
  8. list digits = ["1,1,0,1,1,1,1",  // zero
  9.                "0,0,0,1,0,0,1",  // one
  10.                "1,1,1,0,0,1,1", // two
  11.                "1,0,1,1,0,1,1", // three
  12.                "0,0,1,1,1,0,1", // four
  13.                "1,0,1,1,1,1,0", // five
  14.                "1,1,1,1,1,1,0", // six
  15.                "0,0,0,1,0,1,1", // seven
  16.                "1,1,1,1,1,1,1", // eight
  17.                "0,0,1,1,1,1,1", // nine
  18.                "0,0,0,0,0,0,0" // blank
  19.               ];
  20.  
  21.     integer num1 = 9;
  22.  
  23.     integer faces = 7;
  24.     integer i;
  25.     for (; i<faces;i++)
  26.     {
  27.         list values = llCSV2List(llList2String(digits, num1));
  28.         llOwnerSay((string)llList2Integer(values, i));
  29.         //llSetLinkAlpha(speed1, llList2Integer(values, i));
  30.     }          
  31.  
  32. }
  33.  
  34.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement