Jump to content

RhaDo2496

Resident
  • Posts

    22
  • Joined

  • Last visited

Posts posted by RhaDo2496

  1. i builded a floorpart (with blender 2.78) and the hitbox dosent work like it should.

    the hitbox ignores the red and blue faces completly and only formes a simple cube aroudn the hole thing so anytime trying to sand on the blue floorpart the av is hovering.

    what do i have to do to get a workin hitbox for that floor?

     

    help.PNG

  2. is there a way to use llSetLinkAlpha at a list of faces at same time?

    atm im writing them all in single line like

    llSetLinkAlpha(3,1,ALL_SIDES);
    llSetLinkAlpha(4,1,ALL_SIDES);
    llSetLinkAlpha(5,1,ALL_SIDES);

    so every face goes visible one after one. how to script it that they go visible all at same time?

  3. i added this script and the line 61 llSay(900,hideGo); and 69 llSay(900,showGo); dont do anything

    integer channel = 240;
    string show_A="C1";
    string show_B="C2";
    string show_C="C3";
    string show_D="C4";
    string show_E="C5";
    string show_F="C6";
    string show_G="C7";
    string showGo = "show";
    string hideGo = "hide";
    integer visible=TRUE;
    integer Ll = TRUE;
    hide1() {
            llSetColor(<0.3,0.3,0.3>,ALL_SIDES);  
    }
    hide() {
            llSetColor(<0.6,0.6,0.6>,ALL_SIDES);  
    }
    
    
    show() {
            llSetColor(<0,0,0>,ALL_SIDES);
    
    }
    
    default {
        state_entry() {
            llListen(channel,"",NULL_KEY,"");
        }
    
        listen(integer channel, string name, key id, string message) {
            string m=llToUpper(llStringTrim(message,STRING_TRIM));
            if (m==show_A) {
                hide1();
                Ll=TRUE;
            } else if (m==show_B){
                hide1();
                Ll=TRUE;
            }else if (m==show_C){
                hide1();
                Ll=TRUE;
            }else if (m==show_D){
                hide1();
                Ll=TRUE;
            }else if (m==show_E){
                hide();
                Ll=FALSE;
            }else if (m==show_F){
                hide();
                Ll=FALSE;
            }else if (m==show_G){
                hide();
                Ll=FALSE;
            }
        }
        
        touch_start(integer total_number) {
            
         if(Ll){ 
          if(visible){
         hide1();
         llSay(900,hideGo);
         llSay(0,"off");    
         
         visible = FALSE;     
              
          }else{
                 
         show(); 
         llSay(900,showGo);   
         llSay(0,"on");        
         visible = TRUE;         
               }
            } else{}
         }
    }
×
×
  • Create New...