Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string temp_list = "";
- for(y=0;y<faces;y++){
- list temp_sub = llParseString2List(llList2String(temp,y),[","],[]);
- float temp_trans = (float)llList2String(temp_sub,0);
- float temp_glow = (float)llList2String(temp_sub,1);
- if(y == face){
- llSetLinkPrimitiveParamsFast(x,[PRIM_COLOR,face,<1,1,1>,trans, PRIM_TEXTURE, face ,uuid, <1,1,1>,<0,0,0>,0, PRIM_GLOW, face, glow]);
- temp_list += (string)trans + "," + (string)glow;
- debug("applying: " + (string)trans + " and " + (string)glow);
- }
- else{
- llSetLinkPrimitiveParamsFast(x,[PRIM_COLOR,y,<1,1,1>,trans,PRIM_GLOW, y, glow]);
- temp_list += (string)temp_trans + "," + (string)temp_glow;
- }
- if(y<faces-1)temp_list += "||";
- }
- debug("New temp list: " + temp_list);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement