This morning I was set to declare that perhaps I do indeed have a bit of a builder in me. Tonight….*grin*….another mishap that sent me IM’ing to Bailey! Bailey is simply wonderful. So kind, so patient, so helpful. No matter HOW many times I try to destroy my house, she is there to help me get it back.
Return with me now, however, to happier times. I need an office for a demo next week to my manager. I’d hoped to use an existing office in an existing world. Unfortunately, for a variety of reasons, that option no longer seems viable. I looked about at all the worlds in which I move and my eye fell on Bedrock Boutique, my mall in OpenSim. The economy has been tough on everyone – we still have empty stores in the mall. I decided to build an office in one of the empty units. Only one little problem: I don’t have any furniture in OS. Actually, I don’t have much of ANYTHING in OS. LOL. Ah, but I DO have hair!! Anyway, I contacted a friend and asked if he would allow me to move his furniture into my store and he graciously agreed. So I set up a table with chairs, some sofas and end tables, put the corporate manual on the table along with a cup of steaming coffee (or whatever). But the setup seemed a bit stark, not to mention too public. I thought that what was needed was a way to indicate that this unit was not open to the public, not for general admittance. I decided that posts and ropes and perhaps a sign were needed. I had a few false starts thinking about the rope, but the posts were a breeze. As was the sign. All in all, creating the posts, rope and sign took me less than 30 minutes. For someone who doesn’t know how to build and has darn few textures, I was quite satisfied.
Now we all know that you shouldn’t work on things when you are tired. I should REALLY know not to try to edit items in or near my house. How many times now have I managed to TAKE my house and have to get it restored??? Two? Three? I think that Hell, Bailey and Shenlei have all had to restore my house at one point or another. Well, some people (me) never learn. I was floating in the pool in one of the inner tubes (hey – it’s HOT here – temperatures were over 90 for the last 3 days) and working on scripting a book. The book was on the side of the pool. All of a sudden – the book was in the water. The pool was twice as big as normal. What??? A very long story short. I “missed” when I was clicking on the book to rotate it. *grin* I clicked on the concrete around the pool and flipped THAT. I KNEW that I’d messed up the rotation of SOMETHING. I IM’d Bailey to ask advice. As we talked and I tried to explain what I saw – that’s when I understood what I had done. In other attempts to undo that, I had also managed to flip the entire pool section upside down. *grin* No, I didn’t get a picture. Silly me. It was actually quite funny. And I’m not about to do it again just for your entertainment. You will have to take my word for it.
And now for the lessons I am learning. First – I simply do not understand rotation. I have a plea in to the script wizard to explain to me WHY what worked for a door does not work for a book. llGetPos, llSetPos, llGetRot, llSetRot. I have used these functions in nearly every scripting assignment from Hell. And STILL I can’t make them do what I want. Grrrrr.
I also learned something important about llRezAtRoot. I don’t know why I thought llRezAtRoot lined up the new prim with the bottom of the existing prim. No, it lines up the new prim with the geometric center of the existing prim. For simplicity – I have a 4m x 4m square. I want to rez a .3m sphere in the upper-left corner of that square. *grin* Should have been very simple. If you read documentation, that is. I, of course, just kept playing with offsets and such. I think my coworker found this approach a bit maddening. 🙂 But I got the answer (geometric center) just as he found that in the wiki documentation. Cheater! Honour is always telling me to learn by trying. 🙂 Is THAT what you meant, Honour? So much of this rezzing/scriptig is math. All formulas and calculations. I’m lucky that my coworker is EXTREMELY good at math. I tend to make careless mistakes. Gee, I do that editing also. *grin* Must be a character trait. But I have to say – it is fun to finally make the prims appear where and when I want. I wish I could have that power in RL too. 🙂