|
Damien Took
Meat Popsicle
Join date: 3 Dec 2004
Posts: 151
|
12-08-2005 11:09
Yes, I know I can test this myself, but I am impatient and won't have the time for a couple of days. So on to the question... Let's say I have a prim (root prim) floating on the far end of a sim with a script that is moving it and it has an "arm" 10 to 15m long reaching in to the next sim. Let's also say there is a ball on the end of the arm with a script in it that sends a link message back to the root prim. And now here's the question... If the ball on the end of the arm is in a sim where scripts are disabled, but the root prim is in the sim that has scripts enabled will both scripts still run? Or will the script over the sim with scripts disabled not run but the one in the root prim run? Also, can scripting be disabled over sections of land, or just entire sims? Thanks for any help.
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
12-08-2005 11:44
Land based permissions effect an object by where it's root is. In the past it was possible to grow links to insane lengths (up to 2^23 + 1; but that would take 6 months). The scripts always ran. The obvious implication is that once you grow the link, you can break it and your prim would then try to go to that location travel though the sims.
The prim would first move though sims along it's x axis till it didn't need to travel any further along that axis, then it would travel along it's y axis till it didn't need to go any further. If there was a gap along the way of doing so the object would go offworld.
So if you were moving a prim from Ahern to Luna, it wouldn't go offworld in transit; but if you were going from Luna to Ahern, it would go offworld in Luna.
For a proof of concept I used this as a crude mapping method (and after the proof of concept LL added new restrictions only in the sim i did the test in, restricting link lengths so that no axis could be greater then 256m).
Since you can't do this sort of thing anymore it's pretty much a nonsequiter.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
|
Damien Took
Meat Popsicle
Join date: 3 Dec 2004
Posts: 151
|
12-08-2005 13:13
So basically what you're saying is that if the root prim can run it's scripts then the rest of the scripts will run even if they are over a sim border over land that has scripts disabled.
My goal is to try an detect land or a sim that does not allow scripts to run before I (the prim) enter it. I have a moving prim and I don't want it to die over someone's land. I don't know where it will be so I have to have logic that will get around this little problem.
Thanks.
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
12-09-2005 07:40
you can't get data about land in another sim. the functions just don't work that way.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
|
Damien Took
Meat Popsicle
Join date: 3 Dec 2004
Posts: 151
|
12-09-2005 12:53
Got it. Thanks.
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
12-09-2005 15:18
This is a standard SF virtual reality McGuffin.
The solution that comes up in SF will work just fine in SL...
Rez a temp-on-rez object ahead of you before you move, and have it tell you it's still alive. If it doesn't get back to you, try a different direction.
|
|
Damien Took
Meat Popsicle
Join date: 3 Dec 2004
Posts: 151
|
12-09-2005 15:29
Ahh, that's a good idea. Thanks. But what if the land just doesn't allow creating prims? Might it still be scriptable?
|