Jump to content

Rolig Loon

Resident
  • Content Count

    41,706
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Rolig Loon

  1. if (change & CHANGED_LINK){ gPrimnames = []; integer i; for(i=1;i<=llGetNumberOfPrims();++i) { gPrimnames += [llGetLinkName(i)]; }} Then you can safely query the global list gPrimnames by list index at any time with integer LinkIdx = llListFindList(gPrimnames, [the_link_I_Want]) + 1; to get the number of a named link.
  2. Oh, the list could go on and on. Actually, the biggest reason why it will be a long time before most greeter scripts recognize Display names is simply economics. Most people who use those scripts aren't scripters. They paid someone to create the greeters for them, and they aren't about to pay some else to do it all over again just to accommodate Display Names. Even if they are using freebie greeters, it's a pain to have to replace all of them. Inertia rules in all things.
  3. Nice thoughts, Void. Thanks. I updated the OP, above.
  4. Here's the scenario: You have a box full of goodies that you want to offer people, and you want to make it easy for them to know what's inside. Yes, I know they can always right click and use Open or Edit >> Contents, but you want to save them even that much trouble. This simple little script lists everything in your box in an alphabetized hover text display that shows 8 lines at a time, like a vertical marquee. It even shows what type of item (clothing, script, notecard, ....) each one is. // FLOAT BOX CONTENTS -- Rolig Loon // Lists object contents in hover text, labeled by type /
  5. Most scripted objects that you are likely to bump into were created before anyone had even thought of Display names, so they don't know how to recognize one. Also, many of those devices are scripted to recognize when the same visitor returns a second time. That way it doesn't send another annoying greeting or count you twice in its visitor counter. To do that, it needs to look for your real (i.e., Login) name or your UUID because it can't count on a Display name staying the same from one week to the next. Including a Display name as well may use more memory than many greeters can handle. F
  6. There's nothing in this Scripting Library, as I'm sure you have found by doing a search. There is a good listing of other script libraries and tutorials HERE that you might look at. And of course you should try Marketplace or the Wanted section of the Commerce forums (http://community.secondlife.com/t5/Wanted/bd-p/Wanted). Good luck.
  7. There's nothing in this Scripting Library, as I'm sure you have found by doing a search. There is a fairly comprehensive listing of other script libraries and tutorials HERE that you might look at. And then, of course, there's Marketplace, although you are not likely to find a full perm script there. Other than that, I'd suggest stepping back a bit and practicing your scripting skills with a few simpler projects as you warm up to making a chess game. As you have questions, post them in the Scripting forum (not here) and you'll find people ready to help.
  8. Rolig Loon

    No Object sit

    Dora Gustafson wrote: I fail to see though, how could it be possible to unsit more avatars on an object when this or one of the simple scripts are in it? (They will unsit any avatar trying to sit) Good point. If the sit target is set, then a simple llUnSit(llAvatarOnSitTarget()) should prevent one or more avatars from sitting (unless they are using a viewer that allows the av to override that restriction). I'm stretching to think of a situation where I might want to use Void's method, but it does show a way to handle the unsit without defining a sit target.
  9. Be sure that you have checked the box that says "Send IM to E-mail" in the Communication tab in Preferences (CTRL-P). If it got unchecked for some reason, IMs won't be forwarded. Another possibility is that your messages are capped. From the Knowledge Base: Maximum number of offline messages (involving IMs, inventory offers, group notices and group invitations) received before messages get capped is 25. Senders can't know whether their messages were capped or not.
  10. Dante's idea is pretty good. If you make a sphere about 0.1m in diameter and drop this script in it, you'll have a follower that hovers over your head and covers that pesky dot most of the time. The dot moves up and down a bit as your av changes position, so it doesn't stay a constant distance above your head. If you make the sphere big enough, though, it works well enough. default{ state_entry() { vector pos = llGetPos(); llSetStatus(STATUS_PHYSICS, TRUE); llSleep(0.1); llMoveToTarget(pos,0.4); llSensorRepeat("", llGetOwner(), AGENT, 20.0, PI,1.0
  11. Great video! That's handy to have when you file an AR. If you are victimized by this sort of attack in the future, remember to use CTRL - Alt - Shift - + to turn off particles on your own screen. Particles are a client-side effect, so they can't cause the sim's servers to lag but they can overwhelm your own graphics card under some circumstances, causing rendering lag for you or maybe even making you crash. Turning off particles also makes it easier to see where the emitters are, so you can clean up the mess faster.
  12. It's a particle effect, for which you need a fairly simple script. The way to learn (and it really is worth learning) is to visit the Particle Laboratory in world. ( I'd hand you a SLURL but I can't get in world right now to grab one. It's very easy to find in Search, though.) The Particle Laboratory has an impressive array of tutorials. If you dedicate an afternoon to playing with them to see how the various particle parameters work, you'll be all set. You'll also find that they have a nice collection of free sample scripts in their sandbox area. IIRC, there's a flame script among them.
  13. You should be able to do it HERE, which can also be reached if you click on Help (above, next to Community) and sort of follow the link from Contact Support.
  14. The Scripting forum is meant as a place for scripters to learn from each other. It's not really a place to look for scripts. If you are looking for someone to write a script for you, the best place to ask is in the Inworld Employment section of the Commerce Forums (http://community.secondlife.com/t5/Inworld-Employment/bd-p/InworldEmployment). If you are looking for a script that already exists, try Marketplace or the LSL Scripting Library (http://community.secondlife.com/t5/LSL-Scripting-Library/bd-p/LSLScriptingLibrary) or the Wanted section of the Commerce forums (http://community.secondlife
  15. If you are looking for someone to write a script for you, the best place to ask is in the Inworld Employment section of the Commerce Forums (http://community.secondlife.com/t5/Inworld-Employment/bd-p/InworldEmployment). If you are looking for a script that already exists and can't find it here, try Marketplace or the Wanted section of the Commerce forums (http://community.secondlife.com/t5/Wanted/bd-p/Wanted).
  16. All you really need is a simple poseball script. The work is all done by whatever animation to find. There are a few poseball scripts here in the library, but you'll need to shop in world or in Marketplace for the animation.
  17. OK, forget my earlier post. I just tried this as an experiment. It's not the prettiest particle display in the world, but if you put it in a prim, point its +Z axis forward, and attach it to your av (I attached mine to the stomach), it produces a particle stream that always points away from your av as you turn. Turn it on with /8 ON and off with /8 OFF. default { state_entry() { llListen(8,"",llGetOwner(),""); } listen(integer channel, string name, key id, string msg) { if ( llToUpper(msg) == "OFF") { llParticleSystem( [ ] );
  18. You might try something like llLookAt(<1.0,0.0,0.0>*llGetRot(),1.0,0.5) If you are updating with a timer as the avatar moves so that the script always has a current value of the av's global rotation to work with, I think the emitter prim ought to track with its +Z axis pointing forward all the time. ETA: That will position the prim. The acceleration applied to particles shouldn't need a rotation correction at all. I think that acceleration is always applied in the local rotation frame of the prim, IIRC. ETA2: Oh, duh. You said this is an attachment. I was thinking it was a follow
  19. Welcome to Second Life! That's really quite easy to answer. There is no object to Second Life. You are supposed to be doing anything that you want to. Depending on your personal perspective, this is a social networking platform, a creative environment, a role playing platform, .... almost anything. There is no systematic goal and there are no points to be earned, no badges.... I suggest that you spend some time exploring to see what you find. Try looking in the Destination Guide, for example, to see the range of exciting areas in SL. Go shopping, attend an in-world musical event, visit a
  20. There are some reported issues with NVidia graphics cards ( see HERE, for example) that may explain it. I have had the same experience you describe, though, and it's much less drastic than some of the reports of missing body parts that are in JIRAs like that one. Like you, I can sometimes find that a part of my av has gone totally transparent if I have switched windows to check my e-mail or browser. Clicking on the av or doing a quick Ctrl-Alt-R rebake always fixes it instantly. It's a little disconcerting, but so far I have simply ignored it. I suspect that it's another odd connection issue -
  21. D'accord. Voyez ici la reponse officielle (en Anglais).
  22. Io non sono sicuro di aver capito il problema, forse a causa della traduzione. Se si utilizza uno script llTargetOmega e desidera che un oggetto per far girare la filatura, però, tutto quello che dovete fare è utilizzare il vettore <0.0,0.0,0.0>. Ciò renderà il fermano.
  23. You'll want to use a negative value for Gravity, so that the cattails always point up instead of drooping, and you'll want to keep Wind set rather low (probably no more than 1.0) to keep them from whipping aroiund too much. Moderate settings for Drag and Tension will also help make them slow to respond. You can ignore the Force settings, since they won't do much for you at all. Just play around and see what looks good. BTW, you can't link anything to the flexi end of a prim. If you try, it loses its flexiness (if that's a word). That means either making your cattails out of a single prim
  24. Rolig Loon

    In Pooley !

    Because there's almost nothing for your graphics card to render and there's almost no demand on the sim's servers other than your own (no scripts, no physical objects, no parcel media, no particles.....). The servers can pay attention to you better.
  25. Hmmm... It could still be related. See VWR-13337 (https://jira.secondlife.com/browse/VWR-13337). It might be a good idea to add your graphics card spec to your original post. It might catch the eye of someone with experience on your particular card. So far, I don't have much more of an answer myself. :-(
×
×
  • Create New...