Page 1 of 1

Recover Lost Prim

Posted: Mon Jun 17, 2013 10:21 pm
by Xxaxx Constantine
I'm in the midst of converting an airplane script from SL to Kitely.
Yes things are not going well.

But this is not about the scripting issues.

This post is a quest to find some method of locating and capturing my lost planes.
Admittedly the plane is a single prim.
I would still rather not leave it laying about.

I can use world search to get a nice red arrow pointing deep in the dirt.
But no clue on how to grab the object.

Anyone solved this in some fashion other than sending all objects back to the Lost and Found?

Re: Recover Lost Prim

Posted: Mon Jun 17, 2013 11:23 pm
by Constance Peregrine
what viewer you using?

object search in imprudence can allow you to tp to, cam to, and edit items with several search variables...then you can delete it or take it back

as well, you can cam below and inside of terrains

as to plane scripts....Phoneix Dreamscape was around and has those, at least in another grid, but I haven't seen her around lately. You might try a PM.

Re: Recover Lost Prim

Posted: Tue Jun 18, 2013 6:12 am
by Alice Liberty
There is a function you can include in the script of a vehicle which may become lost. Once per day (or however long an interval you set) it sends you a message indicating its position. Then you can go to that spot to take it back into your inventory or delete it.

Code: Select all

//// The following lines should be inserted at the top of your script, where you declare variables

// constant: minutes between findme messages (1440 is one day)
integer findme_period = 1440;  

// variable: number of minutes since last findme message
integer findme_mins;  


//// include a timer event in your script's "on_rez" section
 
default {
    on_rez(integer num) 
    {
        // your other on-rez lines here
        llSetTimerEvent(60); // findme timer for 1 min intervals
    } 
}


//// include these lines at the end of your "default" section

default {
    // your other default stuff here
    timer()
    {
        if (findme_mins < findme_period)
        {
            findme_mins += 1;
        }
        else
        {
            findme_mins = 0;
            vector pos = llGetPos();
            llInstantMessage(llGetOwner(), "Your vehicle has been left at "+llGetRegionName()+" "+(string)((integer)pos.x)+", "+(string)((integer)pos.y)+", "+(string)((integer)pos.z));
        }
    }
}

Re: Recover Lost Prim

Posted: Tue Jun 18, 2013 3:23 pm
by Xxaxx Constantine
Thanks for the reply.
Turns out I know exactly where the object is.
It is in the middle of the plaza embedded in a concrete cylinder.
Problem is, I can't select it, delete it, or in anyway get focus on it.

For the future, I think I'll use a modified version of the findme script. Only in this case, I'll see about having it delete itself.

Regards,

Re: Recover Lost Prim

Posted: Fri Jun 21, 2013 6:55 pm
by Adagio Greenwood
You can go into advanced rendering (actual menu location will probably depend on what viewer you use) and turn off things like "ground" until you can see and reach the object you are trying to take. Sometimes simply derendering the thing it is stuck under or inside will make it accessible. The "wireframe" option is good for extreme situations too. Good luck! :D

Adagio

Re: Recover Lost Prim

Posted: Fri Jun 21, 2013 7:03 pm
by Dundridge Dreadlow
I lost an object in advanced megaregion mode the other week and was unable to select it properly. Switched to normal mode, and the object was in a slightly different place in the same area and easy to select.

Re: Recover Lost Prim

Posted: Fri Jun 21, 2013 7:05 pm
by Constance Peregrine
in imprudence

ctrl alt shift 1 [simple prims]

ctrl alt shift 5 [surface patch - ground]

ctrl shift r [wireframe]

Re: Recover Lost Prim

Posted: Fri Jun 21, 2013 7:24 pm
by Adagio Greenwood
Miney, I am forever forgetting about keyboard shortcuts so thanks!! I betcha those will work in other viewers too; I will give it a try tonight when I am home.

Dundridge, good point about advanced megaregion mode.

Adagio