Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

permission_trigger_animation bug?

Douglas Callahan
Fresh Prince Of SL
Join date: 2 Jul 2004
Posts: 349
04-26-2007 21:38
Hello.

I have an attachment which requests permissions to animate the avatar. This works fine when the script is in the parent prim of the object, but when I move it to a child prim, the relentless dialog requesting permissions to animate comes up. I thought this was supposed to be granted without asking in attached objects...?
_____________________
Other than that, Mrs. Lincoln, how was the play?
Douglas Callahan
Fresh Prince Of SL
Join date: 2 Jul 2004
Posts: 349
04-27-2007 13:42
any of the daytime scripters noticed this?
_____________________
Other than that, Mrs. Lincoln, how was the play?
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
04-27-2007 14:30
I would IMAGINE that the child prim is not viewing itself as attached to an avatar, but rather only to other prims. The root-prim would be the only prim attached to the avatar. My best guess at least.
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Douglas Callahan
Fresh Prince Of SL
Join date: 2 Jul 2004
Posts: 349
04-27-2007 15:06
but child prims do view themselves as attachments as the attach() event is called in them when they are attached so I don't get it.
_____________________
Other than that, Mrs. Lincoln, how was the play?
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
04-27-2007 16:29
Well, I did mention it as a guess. The solution, however, seems apparent (place the permission request in the root prim)...
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
04-27-2007 16:47
I can't explain why, but it's the behaviour we've seen before and is what's expected now, in fact it's even documented on the wiki: http://www.lslwiki.net/lslwiki/wakka.php?wakka=llRequestPermissions&show_comments=1#comments
_____________________
Eloise's MiniMall
Visit Eloise's Minimall
New, smaller footprint, same great materials.

Check out the new blog
Douglas Callahan
Fresh Prince Of SL
Join date: 2 Jul 2004
Posts: 349
04-27-2007 17:14
alright thanks guys. i'll move it to the root prim. kind of lame though if you ask me...
_____________________
Other than that, Mrs. Lincoln, how was the play?