Jump to content

Kradrick

Resident
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Kradrick

  1. ok so ive gotten into scripting alot more lately and there are still some things that have me thrown for a loop, i made a finished hud with 3 color buttons all a different color, purple, green and orange, i thought i was be able to replace 1 if not all of those buttons with 1 color selector that let you choose whatever color you want for your particle, the base hud like i said works but i have no idea how to make it into 1 color selection

    heres the script on all 3 of the buttons, the script listens on /99 it has a start button to turn the particle on and off, but that damn color selector is beating my ass, anyway on to the button script that resides in all 3 buttons, if you need any more information let me know and ill do my best to supply it

    select_color() {
      llMessageLinked(LINK_ALL_OTHERS, 0, 
                      llList2CSV([llGetColor(ALL_SIDES), llGetLocalPos()]), 
                      NULL_KEY);
    }
    
    default {
      touch_start(integer total_number) {
        select_color();
      }
    
      link_message(integer sender_number, integer number, string message, key id) {
        if ((sender_number = LINK_ROOT) && (message == "reset")) {
          if (llGetObjectDesc() == "1") select_color();
        }
      }
    }

    i want to turn this into an RGB color selector and im about ready to rip my hair out after 6 hours, searched the forum and google and the wiki and script sites someone help me get through this please lol

×
×
  • Create New...