SHARE
TWEET

Untitled

a guest Jan 7th, 2019 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  string temp_list = "";
  2.                      for(y=0;y<faces;y++){
  3.                             list temp_sub = llParseString2List(llList2String(temp,y),[","],[]);
  4.                             float temp_trans = (float)llList2String(temp_sub,0);
  5.                             float temp_glow = (float)llList2String(temp_sub,1);
  6.                             if(y == face){
  7.                                 llSetLinkPrimitiveParamsFast(x,[PRIM_COLOR,face,<1,1,1>,trans, PRIM_TEXTURE, face ,uuid, <1,1,1>,<0,0,0>,0, PRIM_GLOW, face, glow]);
  8.                                 temp_list += (string)trans + "," + (string)glow;
  9.                                 debug("applying: " + (string)trans + " and " + (string)glow);
  10.                             }
  11.                             else{
  12.                                 llSetLinkPrimitiveParamsFast(x,[PRIM_COLOR,y,<1,1,1>,trans,PRIM_GLOW, y, glow]);
  13.                                 temp_list += (string)temp_trans + "," + (string)temp_glow;
  14.                             }
  15.                             if(y<faces-1)temp_list += "||";
  16.                         }
  17.                         debug("New temp list: " +  temp_list);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top