Jump to content

Pedlar Decosta

Resident
  • Posts

    99
  • Joined

  • Last visited

Everything posted by Pedlar Decosta

  1. How does one go about adjusting the parameter 'path cut' beginning and end of a prim using a script ? I can see 'slice' on the llSetPrimitiveParams() list but not path cut. I am wanting to drop the script into a box prim and cut the path to 0.3750 & 0.8750 (or similar) to make a single prim swinging door.
  2. Hi Innula. X and y were just 2 elements in a list. They had been parsed (from an object description). I had tried using a sleep as well but it didn't help. I believe it was being caused by an unknown formatting error in the preceding script and out of frustration I rewrote much of it and coded the event differently. I thought I had kept at least one original so that I could go back and examine it if for my own interest and to share those findings on this thread. However I can't find it now, so I can't show you more of the script unfortunately. The purpose of the script was to manipulate and control the parameters of a prim.
  3. thanks for your reply ipecac. Apologies for the late reply, I have been away. Yes, I have checked the formating, run it on lslEditor etc. Although I will check again. The curious thing is that the only thing different is an added comment, which as far as I know, should be ignored. If I work it out I will explain it here. Cheers
  4. I have a script which I was tweaking. I had a simple "if(x==y){do something}" code in the script. In this case x did equal y, however it wasn't working. To double check if x = y I added some feedback llOwnerSay(x and y); Suprisingly not only did x = y but the script worked. Perplexed I added forward slashes to make the ownersay a comment and when I did the script still worked. So I tested the script in 4 other objects and each time the script only worked when the comment was added. I am hoping someone can explain why this is so. if(x == y) { //llOwnerSay(x and y); do something; } Thanks in advance Confused.
  5. Thanks Klytyna and Ruthven. That is very interesting stuff that I didn't know. I'll have a play around tomorrow and check those things...materials etc. But it's time to call it a night in this part of the world thanks again
  6. Hi Ruthven, thanks for the reply. I had plenty of prims in the place I was building and I was actually making the build smaller. I assumed it was a sculpt because in the build console it was a sculpt with a sculpt texture. My limited knowledge of mesh ...and sculpties has me thinking that you can't see a sculpt texture for mesh, however I don't say that with any real confidence. I have actually started to take some tutorials for 3D models in Blender, but for now I feel like Schultz..." I know Nothing !!!" The build was in my lost and found folder and it still responds to the scripts. Maybe it was my connection... I have wireless and satellite internet and neither are problem free as I'm in the middle of nowhere.
  7. Thanks Fenix. Yes, I have tried all of those scenarios. I even managed to get the script working at one point, however when I unlinked and started editing the scale of the prim manually it disappeared and I couldn't find it. I expect it will be back in my inventory now, when I get back online because of the sim I was in has item returns set up. It is baffling though. I bought it as a 100% mesh object, yet at least one prim was a sculpty. I only realized when all of a sudden I couldn't move around in the space inside it. So I think the problem is not with mesh after all. I'll investigate further, but thanks for the very helpful reply. I was having a bad day yesterday and my patience was running low. Normally I would have persisted myself to eliminate all possibilities. I gave in to the temptation of seeking help here among people who are much more qualified than myself
  8. As I said, that's what I thought. I have just been checking and there is a mesh prim that I can't get to respond. Even with a script that returns the face number on touch. And I had read something somewhere about script enabling Mesh. So I thought I'd ask the experts. I didn't expect the tone of the reply. But hey. That's life. I asked because I do not know a lot about mesh. This particular mesh prim remains a mystery and I have no idea why. I have scripted mesh before with no problems.
  9. Fair enough. That's what I thought until I added a script to a mesh build I bought and the script didn't work. So now I will go back and try and figure what is going on. Thanks for the reply. No thanks for the cynicism
  10. Where can I get information about making mesh prims script enabled ? With some meshes my scripts work and others they don't. The script seeks to alter some of the parameters of the prims via color/texture/tex repeats etc. Not shapes, scale or position. ...although I could look at that in the future if it is possible...
  11. I figured it out thanks. The script was not in the root prim and that was around the distance I was getting the problem with. So I used llGetRootPosition() instead. Problem seems to be fixed. I knew it would be something simple that I was missing.
  12. Hi,. I am trying to use llSetRegionPos() to move a skybox on a small parcel. I am only changing the z coordinate, however the y coordinate is changing as well by over 2 metres. I can't figure that out because llSetRegionPos() is supposed to fail unless it can move the object to within 0.1 metres of the target. Any help is appreciated. pos =llGetPos(); integer positionz //= user input integer hasMoved = llSetRegionPos(<pos.x,pos.y,positionz>); if (hasMoved) { cp = llGetPos(); llInstantMessage(llGetOwner(),"My new position is now:\n" + "http://maps.secondlife.com/secondlife/" + llEscapeURL(llGetRegionName()) + "/"+(string)llRound(cp.x) + "/"+(string)llRound(cp.y) + "/"+(string)llRound(cp.z) + "/"); }
×
×
  • Create New...