|
Kayaker Magic
low carbonated footprint
Join date: 11 Sep 2008
Posts: 109
|
03-21-2009 11:16
I have land on an island that has canals between the parcels. The canals have PARCEL_FLAG_ALLOW_ALL_OBJECT_ENTRY turned OFF in them. I am scripting a vehicle, VEHICLE_TYPE_BALLOON, and it can fly anywhere on the island, even over the canals. Everything works fine until I step off the balloon. If I have the bad luck to step off when the center of the balloon is in a canal, it is immediately deleted and tossed into my lost and found folder. I can live with that, since I don’t want to land on water most of the time. In fact, when I step off the balloon I want it to snap back to its dock on my property. Since I can land anywhere on the island, I used warPos to send it home, after setting STATUS_PHYSICS FALSE. But it turns out that warpPos cannot cross a no-entry canal! I tried leaving physics on and using llMoveToTarget, but it has a 60 meter limit. I could write an autopilot that drives it home, but that is a lot of work. Anybody have a better suggestion?
|
|
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
|
03-21-2009 11:44
From: Kayaker Magic I tried leaving physics on and using llMoveToTarget, but it has a 60 meter limit. I could write an autopilot that drives it home, but that is a lot of work. Anybody have a better suggestion? Why not let it go? You have it in your inventory so make a rezzer to rez it at the home position 
_____________________
From Studio Dora
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
03-21-2009 16:23
Yeah. Set it to temporary even, and it won't go back to your inventory. So you won't get a billion stacked up. Just setup that rezzer to spawn a new one when you get on the old, or when it is no longer around anymore or something like that.
|
|
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
|
03-21-2009 21:53
From: Dora Gustafson Why not let it go? You have it in your inventory so make a rezzer to rez it at the home position  My thoughts exactly, just have it llRegionSay() on a negative channel, and have the rezzer object listen, and rez a new one as the old one exits.
_____________________
My tutes http://www.youtube.com/johanlaurasia
|