Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Remove animation permissions

Benny Qunhua
Registered User
Join date: 8 May 2007
Posts: 1
05-22-2007 05:28
Hi there!

I wrote a little script which plays animations on the avatar that sits on it. If the permissions aren't given yet the script kindly asks for it. That part works well.

Now I need the script to wait untill it got the permissions of the sitting avatar. I know the events etc. and theoretically it should work fine. However I'd like to test it. And for that I want to remove the Animation permissions again.

I have no clue wether those permissions are stored in the script, object or avatar itself.

So how can I remove the permission again? I am not necessarily seeking for a scripting solution. It may as well be just a button in the options. But I have searched the gui and the forums and sadly I couldn't find anything like that.

Thanks in advance!

Benny Qunhua
Simnelia Petrichor
Registered User
Join date: 10 Feb 2006
Posts: 35
05-22-2007 05:38
Well, the permissions are stored in the script. If you reset or recompile it, that should cause it to relinquish them.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
05-22-2007 05:44
The wikki is your friend
From: wikki

Be aware that the effects of this call are not additive. This means that all desired permissions must be requested for any call because the new permissions (or lack thereof) will completely replace the old permissions. Requesting permission FALSE (or 0) will result in all permissions being released and will not raise the run_time_permissions event handler.
_____________________
I'm back......
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
05-22-2007 13:28
From: Newgate Ludd
The wikki is your friend

..but in this case it is wrong ;)
_____________________
http://slurl.com/secondlife/Together
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
05-22-2007 14:26
From: Escort DeFarge
..but in this case it is wrong ;)


ROFL, it is?
_____________________
I'm back......
Azadine Umarov
Registered User
Join date: 7 Apr 2007
Posts: 31
wiki wrong, yes, but HOW?
05-22-2007 15:22
From: Escort DeFarge
..but in this case it is wrong ;)


Care to specify HOW it's wrong? Not questioning your info... it's just without specifics, a crit like this does nobody much good. (I've certainly had my share of wrong or misleading wiki statements, and I've barely begun scripting in LSL, so I'm NOT challenging your statement that the wiki is off. Just want the details if possible. All the best!)
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
05-22-2007 16:21
From: someone
Be aware that the effects of this call are not additive. This means that all desired permissions must be requested for any call because the new permissions (or lack thereof) will completely replace the old permissions.

True

From: someone
Requesting permission FALSE (or 0) will result in all permissions being released

Not true

From: someone
and will not raise the run_time_permissions event handler.

True
_____________________
http://slurl.com/secondlife/Together