|
Yuka Itamae
Registered User
Join date: 24 Jul 2006
Posts: 38
|
08-25-2006 08:14
Does llResetScript work if the prim with the script to be reset is attached to the owning avatar?
Also,
does llResetScript reset permissions for an object. I am making an animation overrider, and have llRequestPermissions inside the state_entry, but when the script receives the command to reset it doesn't ask for permissions again
EDIT: it seems that this does reset permissions, but only if the prim that the script is in is rezzed upon the floor: for some reason when it resets while attached it doesn't ask for permissions again.
Is there a way to reset permissions while an object is attached?
|
|
Jher Quartermass
Registered User
Join date: 24 Sep 2004
Posts: 18
|
08-25-2006 09:19
yeah, I just tossed a script into my attachments that does an llResetScript on touch. just create a new script, get rid of the hello world bit and put llResetScript in there. When the attachment is screwy, click on it. presto.
|
|
Dragon Eccleston
Registered User
Join date: 25 Dec 2005
Posts: 42
|
08-25-2006 11:03
scripts in attachment root prims get certain permissions by default, including animate permissions. it's resetting and getting permissions, it's just not asking for them because it gets them automatically.
|