Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llRequestPermissions Bug?

Ozymandias Whybrow
Registered User
Join date: 24 Aug 2008
Posts: 1
09-04-2008 18:41
I've recently noticed that calling
llRequestPermissions(PERMISSION_TAKE_CONTROL)
from a chair on the avatar sitting in the chair pops up a permission dialog, but that calling
llRequestPermissions(PERMISSION_TAKE_CONTROL | PERMISSION_TRIGGER_ANIMATION)
in the same situation does not (both permissions are automatically granted).

Is this intended behavior, or a bug?
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
09-04-2008 21:41
if an av is already sitting its assumed (by bug or feature bug that they never fixed because its handy) that animation permissions are granted

i think most others fall in this loophole because the person has to explicitly choose to sit on a foreign object

im not totally sure tho
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
09-04-2008 22:04
I just tried this, and am being automatically granted PERMISSION_TAKE_CONTROLS without any others requested. Old LSL or Mono, makes no difference, it silently grants.

Is the script where you are requesting permissions in the same prim as the sit target, or do you have some other arrangement?