|
Umbralis Furse
Registered User
Join date: 17 Feb 2007
Posts: 3
|
05-21-2007 16:22
I know that there are many items that assume permissions from the user, however, I'm not sure how to script something so that it acts under the asumption that the owner has given it permissions, and doesn't ask for them.
Thanks.
|
|
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
|
05-21-2007 17:04
There are only a few permissions that can do that, and only under certain conditions. The permission to animate is automatically granted if the item is an attachment, and already attached at the time permission is asked for. This is also true of the permission to take controls. There is a convoluted way to give an object permission to attach automatically, but only works after it's granted normally via user interaction the first time. There may be more but these are the only 3 I am aware of. All others I assume you can't get permission without asking the user.
|
|
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
|
05-21-2007 17:09
As far as scripting is concerned, you *always* ask permission; the only difference is, in the cases where an avatar is sitting on an object or has it attached, the blue dialog isn't displayed and the whole permission request/grant operation is conducted invisibly. So you don't write the script any differently.
|
|
Umbralis Furse
Registered User
Join date: 17 Feb 2007
Posts: 3
|
05-21-2007 22:45
Thank you, that's what I wanted to know.
|