Talk:LlRezObject

From Second Life Wiki
Jump to navigation Jump to search

can someone write some words about that integer param, the last parameter? maybe the one who wrote the function!

Yes, I'm adding more to the function description now. Including an example. Xaviar Czervik 18:58, 28 October 2007 (PDT)

Delay?

Is the delay actually mass-based, or is it 0.1 seconds? The article currently says both... Dale Innis 12:10, 1 November 2007 (PDT)

Both, the function has a default delay of 0.1 seconds (it's part of how the function is plugged into the VM), but there is an additional mass based delay. -- Strife Onizuka 13:42, 1 November 2007 (PDT)

How far away can an object be rezzed?

I could spend some time testing it, but was hoping someone already did that. :) Lana Straulino 20:52, 29 April 2010 (UTC)

This is just a guess plus a little experience with trying to rez at distance from the rezzer....I think the maximum distance may be variable and tied to the linkability rules. It would make more sense than the maximum distance being (my memory fails me) about 18.5 meters, which was roughly the maximum I have managed in the past. Testing and posting the results would be of value if my guess doesn't help. -- Fred Gandt (talk|contribs) 22:26, 29 April 2010 (UTC)
Actually: See llRezObject Caveats. Apparently a maximum distance of 10 meters from the rezzer (center of the prim containing the script calling this function) is the limit. I'm sure I broke that though. I may end up testing it myself. -- Fred Gandt (talk|contribs) 22:36, 29 April 2010 (UTC)

As I thought. The caveat is wrong. It also turns out my memory isn't so bad as I thought. Also...A difference in maximum distance is seen depending on the size of the object doing the rezzing.

  • A 10 meter cube can rez up to 18.660279 meters away.
  • A 0.01 cube can rez up to 10.008666 meters away.

Tested using a cube as the rezzer and rezzee. The rezzee size seemed to make no difference (this was a simple test). <lsl>vector pos;

default {

   state_entry()
   {
       pos = llGetPos();
   }
   touch_start(integer nd)
   {
       llRezObject("Object", (pos + <0.0,0.0,10.008666>), <0.0,0.0,0.0>, <0.0,0.0,0.0,1.0>, 0);
   }

}</lsl> Any testing beyond this would bore me to tears so, good luck! Hope it helps. -- Fred Gandt (talk|contribs) 23:18, 29 April 2010 (UTC)

omg! Thanks you Fred! And believe it or not, that sort of work changes entire designs. Lana Straulino 03:22, 30 April 2010 (UTC)