Jump to content

hidden Loon

Resident
  • Posts

    58
  • Joined

  • Last visited

Posts posted by hidden Loon

  1. 15 hours ago, Mollymews said:

    am not sure what you mean by loop the text string

    if what you mean is to reset the prim(s) to their initial positions and rotations when mesg == "invis" then a way is to store the initial values as global constants and then on "invis" set the prim(s) position and rotation to the stored values

     

    Basically if it says 

       llSay(0, "step1"); //start moving
           llSleep(0.0001); 
           llSay(0, "step2");

    llSleep(0.0001); 
           llSay(0, "step3");

    llSleep(0.0001); 
           llSay(0, "step4");

     

    I want it to loop back to "step1" and say the rest of the lines ( 2, 3, 4 etc) and then repeat back to 1 until I say a command to make it stop

  2. I am making a staff and I want certain parts of it to move up and down. I am probably going about this the long way, but right now I have a script that says a command and it makes the child prim move. However, I was wanting to know how to make it loop the text string? This is what I have now:

    integer LISTENER_CHANNEL = 0;
    string        ON_COMMAND = "vis";
    string       OFF_COMMAND = "invis";

    integer       OWNER_ONLY = TRUE; 


    key my_owner = NULL_KEY;


    default {
        on_rez(integer n) { llResetScript(); }
        
        state_entry() {  
            
            if ( OWNER_ONLY ) my_owner = llGetOwner(); 
            
            llListen( LISTENER_CHANNEL, "", "", "" ); 
        }
        
        listen( integer chan, string name, key target_id, string mesg ) { 
            if ( OWNER_ONLY ) {
                if ( target_id != my_owner // Check the identity of the speaker
                && llGetOwnerKey(target_id) != my_owner ) { // check ID of the speaking prim's owner
                    return; // skip the rest of this listen() block.
                }
            }
                
            if ( mesg == "vis" ) { 
           llSay(0, "step"); //start moving
           llSleep(0.0001); //I want it to seem seemless but not instant movement
           llSay(0, "step");
         ******** //maybe loop right here back to the start of the movement
              
                 
            } else if ( mesg == "invis" ) {
    llResetScript(); //make it stop looping?
            }
        }
        
    }

     

    Below is the script for the child prim to move:

    turn() {
      llSetText("turn", <1,1,1>, 1);
      rotation smallAngle = llEuler2Rot(<0,0,15>*DEG_TO_RAD);
      rotation newRot = smallAngle*llGetLocalRot();
      llSetLocalRot(newRot);
    }
     
    step() {
      llSetText("step", <1,1,1>, 1);
      vector forward = <0.1,0,0>; // short step on X
      vector toMove = forward*llGetLocalRot(); // point as I point
      vector newPos = llGetLocalPos()+toMove;
      llSetPos(newPos);
    }
     
    process(string message) {
      if ( message == "turn") {
        turn();
      } else if ( message == "step" ) {
        step();
      } else {
        llWhisper(0, "impossible");
      }
    }
     
    default {
      state_entry() {
        llListen(0, "", "", "turn");
        llListen(0, "", "", "step");
      }
     
      listen(integer channel, string name, key id, string message) {
        process(message);
      }
    }

     

    Any help would be appreciated. Thanks!

  3. First, let me thank everyone for their responses! It has greatly helped me.

    Second, 

    On 7/8/2019 at 11:38 AM, Caerolle Llewellyn said:

    Of course, right after they sucked me (and I am sure others) into Premium with the lure of the new homes, they raised the price of Premium, lol. Then they allowed us to add a year at the old price, which I did, so I don't have to worry about my home for almost two years. If I don't log in for months, I don't have to worry about my rent running out. A second of course, it being LL, there is another gotcha, they are going to make changes to Premium soon. I am glad I went with Premium but to me LL seems to always find a way to deflate anything they do that I find positive.

    What changes are coming? I feel like I should know before making my decision...thank you!

    • Like 1
  4. 1 minute ago, LittleMe Jewell said:

    If you are talking about the Linden Homes, then the older ones are on 512 plots and you get 175 LI - the house does not count in that 175.

    As to the new ones, there are currently none available other than anything that gets abandoned - maybe a few a day.  They are however releasing a region of new ones each Mon, Wed, and Fri - excluding holidays and if issues come up.  Those homes are on 1024 sqm plots and have 351 LI.  They will also have a new set of homes coming in a month or two.  Those will be Campers and Trailers and will initially come on 512 plots with 175 LI available.

    You can also use your 1024 of tier to apply to a Mainland plot that you have to first BUY.   If you get no more than 1024, then you don't have to pay any additional monthly fees.

    Ok so, then how would I go about getting or "keeping an eye out" for new linden homes?

    As for the mainland, the price for the 1024 I have to cover myself but then second life waives the monthly fee thereafter?  Just want to make sure I am reading this correct!

  5. Hello everyone! After years of being on second life, I am looking at becoming a premium member. I had a few questions about the land that is given to us. 

    First let me ask about the land that is not mainland. They give us a house and so many prims and that is it. From my understanding the site says 512sqm and like 117 prims. I am now seeing where premiums are getting 1024sqm and like 175 prims. Is this accurate? Also, are we allowed to demo the house and place something we have that has less Land impact so we can get more prims? Or is the amount of prims we get regardless of the house?

    Second, I also saw on the webpage that we can upgrade our land to mainland plots and they waive the fee...since nothing is free, do I have to pay weekly/monthly for this land? Can I place my own house on it and how many prims are we allotted? I could not find any answers to these questions.

    Finally, can I put either of those 2 options on the search page if I decide to convert my linden home into a store?

     

    Thank you guys so much in advance!

  6. Okay, so I have not been on in a long time. Like, months/years (actively). One of my friends gave me lindens out of the blue randomly when I got on. Kinda acted a little weird around why she gave me it. It was only 1,000L. Dont get me wrong, I appreciated it and was happy. However, I always question things...I told my friend and she said Linden labs can ban you if someone gave you lindens they got through bad means...will I get banned if this is infact,"tainted money"??? Or am I just being too paranoid and just accept the gift?

  7. It seems my problem was as simple as the answer. Thank you everyone for your help! As for Yulyhigh that chat does not pertain to me and my store. It says "Casper Warden" and why that is here I am unsure. Thanks everyone! 

  8. Hey everyone, I was looking for a mesh avatar on the marketplace where I was then prompted that I could not view adult content. Now I am verified and can view adult content in-world. I would like to be able to view the content under the adult tab but have no idea how to manage that setting.

  9. Hey everybody, I am looking for some gun scripts. If they have the basic ones that is fine (and very much appreciated) but I would really like to see if anyone has any of the gun scripts that lets people customize certain aspects of the gun (speed, type of bullet, lights on/off, sling/draw, etc.) via the blue notification window that pops up if you click the gun or say a command.

    If you happen to have one please let me know. You would be helping me immensely!

  10. I am currently looking to make all manner of weapons for any combat system or roleplay (or even if you need someone to be a business partner). I have some degree of knowledge on scripting but would rather just supply models. Pay can be discussed as we talk further about what you are looking for and such. I am also capable of making "spells" (although the previous roleplay I came from called them jutsus). I can show those in person.

    Some examples:

    image.png.37dbe6e289e29f473872283949b1aa0a.png

    image.png.0b2f6f733017861f9cd03beeff92d13f.png

    image.png.926c5983a5611c1ff8d392f4662cd589.png

    • Haha 1
  11. I am capable of making varying types of mesh swords and mesh guns. I am looking to find a place of employment that will either:

    A. Buy my models + textures full perm

    B. Give me a portion of the item being sold

     

    Either option would be discussed. If you would like to see examples please IM me in-world. Im username is hidden Loon. I am aware I could simply put them on the marketplace but I would also like to see what opportunities await me here.

     

    Thank you.

  12. Is there not a command to make it rez on the nearest surface?

    Example: The meteor is rezzed and is falling from the sky, a guy flys under it and is 30m above the nearest surface/floor. When the Meteor hits said person, I would like the crater to then be able to spawn on the surface beneath the person it just hit.

     

    Or is this too far put of SL realm?

  13. Ok so I am making an object that will rez a meteor. The meteor will wall from the sky and then crash into a person/land/floor. When it makes contact, it will rez a crater...

    Now here is my question:

     

    Is there a way to make this:

    llRezObject("Object",llGetPos(),ZERO_VECTOR,llGetRot(),30);

    ALWAYS rez an object on the ground/floor rather than where ever the prim that will contain the script hits? I know you might have to do something with llGetPos BUT wouldnt those cords change with different things it hits?

     

    Thanks

×
×
  • Create New...