Moving an Object with WarpPos
|
|
Xhawkx Holden
Registered User
Join date: 1 Nov 2006
Posts: 86
|
12-27-2007 16:19
I am trying to move an object to the far side of the sime and have it return. I am using WarpPos for this. Funny thing is.. If I sit on the object... it moves to the final destination just fine.. However.. if I am NOT sitting on it.. it starts moving and gets stuck at a particular parcel.
I have the object set to activate and move with a touch.
Is this just a parcel with a "NO ENTRY" checked?? If so.. then I can only assume that the object CAN enter when I sit on it.. and CAN'T when traveling by itself??
Does this sound right? Does anyone have any suggestions on getting around this?
Thanks
|
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
12-27-2007 16:28
My guess would be that the parcel it is getting stuck at is one where you are allowed to go in because you are in a certain group that isn't your active group, or the group the object is currently set with.
Basically, avatar entry into a parcel is based on a check of all groups you are in. However, objects can only be in one group. The reason it can go through when you are sitting on it is because when you sit on something, you become part of the link set of the object, and your group permissions supersede the object's.
Try setting the object's group to the one which is allowed access through that parcel, and chances are, it will work. Down side is that it might not go through another parcel which has a different group requirement that you also have; since you can't have more than one group set on an object, you'll pretty much be screwed at that point.
|
|
Xhawkx Holden
Registered User
Join date: 1 Nov 2006
Posts: 86
|
12-27-2007 17:44
I did find that the parcel I was running into was set to block object entry.. except for group.. I am a member of the group as stated above. I set the prim to the group... but still ran into the same block when hitting that parcel.. any other thoughts?
|
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
12-28-2007 09:23
I barely recall a Jira entry about this. That the No Object Entry flag is not honored if the object is sat on, or something. Then, a philosophical discussion of how it *should* work.
lee
_____________________
So many monkeys, so little Shakespeare.
|
|
Baron Hauptmann
Just Designs / Scripter
Join date: 29 Oct 2005
Posts: 358
|
01-20-2008 06:19
Okay, I'll bringing back this thread for a little bit, I'm wondering if there is a way to go *over* that parcel set to block objects. I am trying to get an object to return home, but it gets stuck at parcels like that. Does that restriction end at any particular height? Or do I need to add some more logic to my use of warppos to get it to go *around* the parcel?
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
01-20-2008 07:58
From: Baron Hauptmann Okay, I'll bringing back this thread for a little bit, I'm wondering if there is a way to go *over* that parcel set to block objects. I am trying to get an object to return home, but it gets stuck at parcels like that. Does that restriction end at any particular height? Or do I need to add some more logic to my use of warppos to get it to go *around* the parcel? I've bumped into it at great altitude, so I think it goes to the edge of the world for prims. But is it critical that the object return, or could it just be "fire and forget", rezzing a replacement whenever one departs and llDie()ing at destination? (Obviously, the thing would have to be copiable; if not, then, yeah, plotting waystations around the obstacle is probably the only way--and that's assuming an unobstructed path exists.)
_____________________
Archived for Your Protection
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
01-20-2008 08:03
Also going to have to remember the 1000 meter limit built into warpPos when deciding to go around or over. You can bump that limit up some but are going to have to play with it to see where the stack-heap limit is.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
01-20-2008 10:59
just use multiple calls to warppos to get around the stack limits (granted it's not as pretty as a single call, but still better than the the old move 10m pause scripts)
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Baron Hauptmann
Just Designs / Scripter
Join date: 29 Oct 2005
Posts: 358
|
01-20-2008 14:08
I'm essentially trying to have something return "home" if it is taken too far away. So "forget about it" isn't an option. And I had figured on the multiple warppos calls. I guess I'll have to do some playing to have it find its way home  Thanks.
|