Alright I give up. I went through all the functions that seemed applicable.
I have an linked set. If I edit that linked set I can see numbers on top of my screen. For Example: X = 67.81 Y = 33.33 Z = 22.22. How in the heck can I do a function cal and get those numbers?
I placed a script into the linkset and asked for it to put the numbers into the Object description like this:
default
{
state_entry()
{
llSetObjectDesc( (string)llGetGeometricCenter());
}}
Also tried 11GetPos, 11GetRootPos etc. BUt none will give me the numbers from the top of the screen. I need those numbers because when an object is rezzed like this:
neTimed()
{
llRezObject("test", llGetPos() + <0, 0, 0>, ZERO_VECTOR, ZERO_ROTATION, 42);
}
default {
state_entry() {
neTimed();
llSetTimerEvent(60.0); // generate a timer event every 1 second
}
timer() {
neTimed();
}
}
I have to guess and tweak the numbers to get it to the position I want. IF I had those numbers then I could just copy out of the objects description and paste it into the rezzind script and change it to this:
*****llRezObject("test", <67.81, 33.33, 22.22>, ZERO_VECTOR, ZERO_ROTATION, 42);
********
So FIrst off what are thos enumbers off the top of the screen. They are not the geometric center. ANd secondly how can I get the numbers that I want? I know it can be done because some rezzors have a store postion function built in.