These forums are CLOSED. Please visit the new forums HERE
Detect if two vectors are on the same parcel? |
|
Eddy Stryker
libsecondlife Developer
![]() Join date: 6 Jun 2004
Posts: 353
|
07-15-2004 22:32
I want to find out when I've moved off a particular plot of land; so assuming I have vector a = llGetPos(); then the object moves around some and I do vector b = llGetPos(); is there any way to determine if a and b are on the same plot of land? llGetLandOwnerAt() isn't sufficient since you have large strips of public owned land that are broken up in to multiple parcels, or one person might own several adjacent parcels all with different settings.
|
Bino Arbuckle
Registered User
Join date: 31 Dec 2002
Posts: 369
|
07-17-2004 19:09
No parcel-level land ownership detection yet, sorry.
![]() |
Tcoz Bach
Tyrell Victim
Join date: 10 Dec 2002
Posts: 973
|
07-19-2004 03:12
If you know the boundaries of the land, easy. If you don't, nothing automated.
If you are the owner of the land, you can check for overmyland. That's about it. _____________________
** ...you want to do WHAT with that cube? **
|
Rysidian Rubio
Ruby Red Head
![]() Join date: 14 Jan 2004
Posts: 263
|
07-19-2004 20:37
Eddy tho I'm not sure why you want to do this. You might find llScriptDanger() useful. This function detects if the land at pos has outside sctripts/building turned off.
It could help determine if the parcel is different from pos to pos, or just use to avoid non-script land. |