Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Yet another parcel boundaries queston

Armandi Goodliffe
Fantasy Mechanic
Join date: 2 Jan 2006
Posts: 144
03-09-2007 08:20
Is it possible to detect parcel boundaries where neighboring parcels have the same owner?
MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
03-09-2007 12:21
I would imagine it is if you had a scripted object on each parcel communicating with one another. Not sure what you are asking though. Are you looking for some LSL function or a way to do this programatically?
_____________________
Armandi Goodliffe
Fantasy Mechanic
Join date: 2 Jan 2006
Posts: 144
03-09-2007 13:57
Yea, I'm looking for a way to detect parcels so I can then automatically send a scripted object to it. . .already having the scripted object there defeats the objective (I want to set out one scripted object, then have it work even if the parcels get reconfigured)
Ed Gobo
ed44's alt
Join date: 20 Jun 2006
Posts: 220
03-09-2007 17:59
I do it with the parcel prim count, hopefully they are different between your parcels.

CODE

vector newv = llGetPos () + ????;
llGetParcelPrimCount (newv, PARCEL_COUNT_TOTAL, FALSE);


You could also set the media to a unique value and see where that changes.
Parcel boundaries only change on multiples of 4 in the integered we (x) and sn (y) directions.
Armandi Goodliffe
Fantasy Mechanic
Join date: 2 Jan 2006
Posts: 144
03-09-2007 18:23
Thanks Ed, I'll give that a try!