Jump to content

eduardoalonzo

Resident
  • Posts

    12
  • Joined

  • Last visited

Posts posted by eduardoalonzo

  1. Hello, I am starting with this scripts and I would appreciate your help, I am trying to make my script work after a few seconds of having activated it, please help, it is a rezz script

     

    key target = NULL_KEY;

    default
    {
        touch_start(integer rand) // the interger doesn't matter at all, you can call it whatever you want, it's not used here
        {
            {
    llSetTimerEvent(9.0);
    }
            target = llDetectedKey(0);
            float number = (float)
             llFrand(llGetInventoryNumber(INVENTORY_OBJECT)); // determine the amount of the content and make a random float
            string name = llGetInventoryName(INVENTORY_OBJECT,(integer) number); //getting the name. the float number becomes integer for that

            
            llRezObject(name, llGetPos() + < 0.03, -0.47, -0.38 >, ZERO_VECTOR,ZERO_ROTATION, 0); //rezz the object, I just let it rezz 1m above the object
        }
        
        object_rez(key object)
        {
            llSetTimerEvent(9.0);
            llSleep(0.5);
            llRegionSayTo(object, -1334576, (string)target);
        }
        
    }

  2. On 1/27/2021 at 1:32 PM, Zerothe10th said:

    Oh! Had I seen this sooner I would've been able to answer.
    Well so far you can't bring .anim files into Blender Y_Y
    HOWEVER! You can convert .anim files into bvh files which CAN be brought into blender.
    https://www.dropbox.com/s/pwin9m6auybcpup/Anim2BVHbento(2)(1).rar?dl=0
    Just give this a whirl and import.

    Hello, why this program for me does not work, I load the animation and give it a destination but it does not convert anything, I get the announcement that it has already been converted but nothing appears, please help

  3. 1 hour ago, Rolig Loon said:

    The function you want is llSetAlpha, which you can look up in the LSL wiki here.  Your changed event has two branches.  One, following the line marked 

     if( sitavakey != NULL_KEY ){ 

    tells the script what to do when you sit down.  The other, in the block

    } else {
                    animation="";
                    counter=0;
                    showText();
                }

    tells the script what to do when you stand up. So, llSetAlpha(0.0); when you sit down and llSetAlpha(1.0); when you stand up.

    aya my head hurts 100 attempts and I only managed to make it disappear but it doesn't appear again   :c

  4. I bought this stand pose script and I would like it to disappear when I sit down and appear again when I get up, I know that for you geniuses and sages of SL it is easy, do me that favor- please rewrite it, and also cancel the text on the stand pose

     

    integer itemType=INVENTORY_ANIMATION;
    vector posePos=<0,0,1.3>;
    integer itemCount;
    integer counter=0;
    string animation;
    key sitavakey=NULL_KEY;

    stopAnimation() {
           list anims = llGetAnimationList(llGetPermissionsKey());
           integer aminct = llGetListLength(anims);
           integer i;
           for (i = 0; i < aminct; i++){
                   llStopAnimation(llList2Key(anims, i));
           }
    }

    startAnimation(integer num) {
        if (itemCount==0) return;
        stopAnimation();
        counter+=num;
        if (itemCount<=counter)
            counter=0;
        else if (counter==-1)
            counter=itemCount-1;
        
        animation=llGetInventoryName(itemType,counter);
        showText();
        llStartAnimation(animation);
    }

    showText() {
        itemCount = llGetInventoryNumber(itemType);
        string msg;
        if (sitavakey==NULL_KEY)
            msg="-- PoseStand --\n" + (string)itemCount + " animations";
        else
            msg="-- PoseStand --\n" + animation + "(" + (string)(counter+1) + "/" + (string)itemCount + ")";
            
        llSetText(msg,<1,1,1>, 1.0);
    }

    default {
        
        state_entry(){ 
            llSetSitText("Pose");
            llSitTarget(posePos,ZERO_ROTATION);
            showText();
        } 

        on_rez(integer int) {
            llResetScript(); 
        }
        
        changed(integer change) {
            if (change & CHANGED_LINK) {
                sitavakey = llAvatarOnSitTarget(); 
                if( sitavakey != NULL_KEY ) { 
                    if ((llGetPermissions() & PERMISSION_TRIGGER_ANIMATION) 
                            && llGetPermissionsKey() == sitavakey) { 
                        startAnimation(0);
                    } else { 
                        llRequestPermissions(sitavakey, PERMISSION_TRIGGER_ANIMATION); 
                    } 
                } else {
                    animation="";
                    counter=0;
                    showText();
                }
            } else if (change & CHANGED_INVENTORY) {
                showText();
            }
        } 

        run_time_permissions(integer perm){ 
            if(perm & PERMISSION_TRIGGER_ANIMATION){ 
                startAnimation(0);
            } 
        } 
        
        link_message(integer sender_num, integer num, string str, key id){
            if (llGetPermissionsKey() == sitavakey) {
                startAnimation(num);
            }
        }
        
    }
     

  5. si cluny ,agradesco tu aporte ,simplemente se hace un click derecho en el avatar a denunciar y automaticamente te salta  la foto, los datos del otro avatar y las pautas para hacer un reporte de la manera mas eficiente , el reporte no es problema , el problema lograr que a LL le importe tu problema como dice NISOTOMA, pero bueno , ya compré 4 huds de atake para afrontar de otra manera el problema ,ahora falta que la china esa ke me ataka mande un reporte y me baneen ami jajajajajaja 

  6. desde hace tiempo me e estado topando con un personaje en SL que siempre que me vé en el  sandbox usa un hud de lag para hacerme caer del juego amí y a los demás del sandbox ,yo ni conosco a esta persona y no sé que quiere conmigo ,se adueña del sandbox , e presentado mil reportes pero parece que a LL le llega al pito los problemas de sus usuarios ya que se lleva al baño los reportes o almenos los mios ,alguien que me dé algunas pautas para hacer

  7. hello I not know much of scripts, and made a hud of sounds with scripts of the wiki and used the (llLoopSoundMaster) but I have the problem that is not heard in the world when I append the hud to the avatar, the sound only I hear it, e read that I have to use (llTriggerSound) so you can hear the sound in the world, how can I join the (llLoopSoundMaster) + (llTriggerSound) help me please here I leave the script that I used the wiki:   I need to add lltrigguersound to that script, someone who will help please

    // This integer (actually a boolean) will be used to manage the toggle effect.
    integer soundState = FALSE;
    // Change MasterLoop to the sound clip you want to use.
    string soundClip = "MasterLoop";
    default {
        state_entry ()
        {
            // Displays network "OFF" as floating text above the prim
            llSetText ("OFF", <1,0,0>, 1.0);
        }
        touch_start (integer num_detected)
        {
            // When touched, soundState inverts its current boolean value. 1 becomes 0, 0 becomes 1.
            soundState =! soundState;
            if (soundState)
            {
                // Run this code when entering soundState 'on'
                // Displays green "ON" as floating text above the prim
                llSetText ("ON", <0.1,0>, 1.0);
                llLoopSoundMaster (soundClip, 1.0);
            } else
            {// Run this code when entering soundState 'off'
                // When touched, stop sound & display network "OFF" as floating text.
                llSetText ("OFF", <1,0,0>, 1.0);
                llStopSound ();
            }
        }
    }

  8. hola mi problema es que muchas veces cuando intento subir avatares , ropas o algunas otras cosas a SL  se cierra y me vota ,sucede cuando le doy al boton de PESOS DE LA PIEL  en la ventana de SUBIR MODELO MESH, el rig ke hago esta bien y es el mismo ke le hago a todo lo que subo pero la mayoria de cosas no las puedo subir por este motivo que SL  se cierra cuando intento hacerlo , alguien sabe la razon de esto? porfavor requiero de ayuda graciass

    :matte-motes-crying:
  9. hola soy nuevo ayer entre con mi novia y keriamos baylar , nos decian sobre una bola grande en la disco pero no aparecia la opcion de bayle , ah y tambien vimos a gente besandose y se nos antojo pero no sabemos como hacerlo x favor si alguien nos alluda ,desde aki las gracias  anticipadas

     

×
×
  • Create New...