Jump to content

Cheaky Heron

Resident
  • Posts

    6
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. hi again yeah that would be a better idea to use mesh but the problem is i have been away from sl for some time now and this mesh thing is new to me i havent even had time to look in to it but would be much better to only use 1 prim instead of 5
  2. hi there no i want them all to change color at the same time the same color im making a jukebox and have 5 prims joined that will be a flashing light it will look like a tubelight that will be shaped like a U upside down and to get that shape im having to use 5 prims to make that shape so i need all them 5 prims to flash the same colour at the same time whilst it is gonna be link to other prims
  3. im confused lol as u can tell im no scripter and telling me to change something or add something to the script i have already pasted is well confusing lol this was posted by someone else as i posted this in the wrong forum Wrong forum**Only uploaded images may be used in postings**://secondlife.i.lithium.com/i/smilies/16x16_smiley-wink.gif" border="0" alt=":smileywink:" title="Smiley Wink" /> Instead of all that llSetLinkColor function calls you should use one LlSetLinkPrimitiveParamsFast instruction call You need to figure out how prims are numbered in the link set You will get a lot more support in the LSL Scripting forum im lost lol i wouldnt know what to do lmao
  4. hey all ok i need some help i have a object that cosists of 11 prims i need only 5 of them to to change the same colour at the same time i have a script that allows me to link parts and have them change color the only problem is is they go through different shades of each colour i only want 1 shade of each color eg from red to yellow to green to blue to purple to orange back to red and repeat them colours can anyone help theis is the script ui have at the moment .......... added...... also i need it to where it will only change the 5 linked pieces because at the moment if i link them 5 pieces to the rest of the object it starts to change tother pieces and not the 5 i want then // This script cycles through colours float red = 1; float green = 1; float blue = 1; vector currentColour = <1,1,1>; float COLOUR_INCREMENT = 0.20; float TIMER_INT = 0.5; changeColour() { if (red == 1.0) { if (blue > 0) { blue -= COLOUR_INCREMENT; } else if (green < 1.0) { green += COLOUR_INCREMENT; } } if (green == 1.0) { if (red > 0) { red -= COLOUR_INCREMENT; } else if (blue < 1.0) { blue += COLOUR_INCREMENT; } } if (blue == 1.0) { if (green > 0) { green -= COLOUR_INCREMENT; } else if (red < 1.0) { red += COLOUR_INCREMENT; } } currentColour = <red, green, blue>; llSetLinkColor(1,currentColour, ALL_SIDES); llSetLinkColor(2,currentColour, ALL_SIDES); llSetLinkColor(3,currentColour, ALL_SIDES); llSetLinkColor(4,currentColour, ALL_SIDES); llSetLinkColor(5,currentColour, ALL_SIDES); llSetPrimitiveParams([PRIM_POINT_LIGHT, TRUE, currentColour, 1, 10, 2]); } default { state_entry() { llSetTimerEvent(TIMER_INT); llSetPrimitiveParams([PRIM_FULLBRIGHT, ALL_SIDES, TRUE]); } timer() { changeColour(); } }
×
×
  • Create New...