|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
04-16-2006 02:02
wiki is light on info for this, and I was wondering about it's proper syntax and use.... and if you can use it to target individual prims in a link set, or not... any help, greatly appreciated... IM's inworld are also most welcome (whether I'm on or not, they're forwarded)
PS could some moderator type person stickie the address for the wiki in here... it's a pain to find otherwise.
|
|
SteveR Whiplash
teh Monkeh
Join date: 24 Sep 2004
Posts: 173
|
04-16-2006 09:01
Hmm yeah, the example on the llGetObjectPermMask page is for llGetInventoryPermMask. That's a little odd... Prims within a link set all have the same permissions as the root prim. So there's no need to test for perms on them. if (llGetObjectPermMask(MASK_OWNER) & PERM_ALL) { llOwnerSay("You have full permissions on this object"); }
|
|
Zalandria Zaius
Registered User
Join date: 17 Jan 2004
Posts: 277
|
get perms
04-16-2006 20:47
It's buggy at best as well.. I made a vendor to let the person shopping push a button and it would get the perms but it likes to return no copy, no mod, no transfer unless you reset the perms inside the vendor.
It's really annoying..
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
04-18-2006 09:50
I'm running into an interesting problem with rezzed objects...
take an object with mod permissions with a created by someone else
create a prim of your own, and link it as the root prim
the new object reads you as the creator... this seems somehow wrong.
thx on the proper set for llGetObjectPermMask(), after testing it I came to the same conclusion that even if a linked prim (like the above example) had more permissions, it inherits the lowest common set of permissions of the set, good in most ways, but odd that it doesn't report seperately, but does revert if unlinked. the creator thing is a bit bothersome though.
PS thx for the warning on llGetInventoryPermMask and vendors
|