|
Paladin Pinion
The other one of 10
Join date: 3 Aug 2007
Posts: 191
|
01-14-2009 12:54
I need to check land permissions to see if my object can rez other objects. I rent, but do not own, land which is set to allow object creation by my group only. When I use llGetParcelFlags to check PARCEL_FLAG_ALLOW_CREATE_OBJECTS it always returns false, presumably because the permissions on my parcel don't allow just anyone to build there.
How would I get my function to return true on my rented parcel, where I do have permissions to build, and false on other parcels where I don't?
|
|
Ron Khondji
Entirely unlike.
Join date: 6 Jan 2007
Posts: 224
|
01-14-2009 13:38
From: Paladin Pinion How would I get my function to return true on my rented parcel, where I do have permissions to build, and false on other parcels where I don't? You never will. You do not have permission to build as an individual but only as a groupmember. Your builds however do belong to you and not to the group. Therefore it's impossible for the object to rezz anything. If you want a prim to be able to rezz something on land with 'groupmember object creation only' you need to deed that prim to the group. I do hope the above answers your question.
|
|
Paladin Pinion
The other one of 10
Join date: 3 Aug 2007
Posts: 191
|
01-14-2009 16:01
Thanks. It does answer the question, but it wasn't what I wanted to hear.  Do we have any sort of "try" structure? Mostly all I want is to avoid the script errors that pop up.
|
|
Ron Khondji
Entirely unlike.
Join date: 6 Jan 2007
Posts: 224
|
01-15-2009 00:16
You can build and try anything you want in a sandbox.
|
|
Paladin Pinion
The other one of 10
Join date: 3 Aug 2007
Posts: 191
|
01-15-2009 09:44
I'm building something that has a follower script in it, and also rezzes objects occasionally. When I cross into land that isn't mine, I don't want it to send me errors about how it can't rez things, I just want it to stop trying. I'll try deeding the object to my group, that might take care of it.
LSL seems to have some limitations though. I wish we had either a "try" structure, or a way to disable the error dialogs so the script would fail silently. Either one would work here.
|