Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // this may be helpful for use in speedometer1()
- // for speedometer2 you'll need if (num1 == 0) num1 == 10;
- // to get the correct blank
- test(){
- list digits = ["1,1,0,1,1,1,1", // zero
- "0,0,0,1,0,0,1", // one
- "1,1,1,0,0,1,1", // two
- "1,0,1,1,0,1,1", // three
- "0,0,1,1,1,0,1", // four
- "1,0,1,1,1,1,0", // five
- "1,1,1,1,1,1,0", // six
- "0,0,0,1,0,1,1", // seven
- "1,1,1,1,1,1,1", // eight
- "0,0,1,1,1,1,1", // nine
- "0,0,0,0,0,0,0" // blank
- ];
- integer num1 = 9;
- integer faces = 7;
- integer i;
- for (; i<faces;i++)
- {
- list values = llCSV2List(llList2String(digits, num1));
- llOwnerSay((string)llList2Integer(values, i));
- //llSetLinkAlpha(speed1, llList2Integer(values, i));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement