|
Cathal McConachie
Registered User
Join date: 6 Oct 2006
Posts: 7
|
10-23-2006 12:02
Having used a Walk Replacer I now find that there are 2 script warning icons (not objects) on the floor. When examined/touched the script warning window opens with the following message repeatedly displayed :
Script trying to stop animations but PERMISSION_TRIGGER_ANIMATION permission not set
What action can I take to set the correct permission if I am the owner but not the creator?(it was a free Walk Replacer). How should I proceed to ensure the animation is stopped and the display of the errors and warning no longer repeated?
All advice gratefully welcomed. Thanks, Cathal.
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
10-23-2006 15:14
// In the global variable section... integer can_animate = 0; ...
// in the default state... on_rez(integer p) { //... whatever else goes here. llRequestPermissions(llGetOwner(),PERMISSION_TRIGGER_ANIMATION); }
permissions(integer p) { //... whatever else goes here
if(p & PERMISSION_TRIGGER_ANIMATION) can_animate = 1; else can_animate = 0; }
Then when they call llStartAnimation() or llStopAnimation(), you need to make sure that can_animate is set before trying. Also, you may need to pick up the two copies of the object that you accidentally dropped or dragged onto the floor. It's easy to do by accident. They're probably transparent and very small, hitting CTRL-ALT-T to show transparent objects will help you find them. I have an object I made that helps find lost objects, too... it's called "detect my stuff" and it's in my store (look in my picks, it's cheap), or IM me in world and I'll drop a free copy on you.
|
|
Cathal McConachie
Registered User
Join date: 6 Oct 2006
Posts: 7
|
Problem resolved - thank you
10-24-2006 10:51
Thanks Argent for this.
Close inspection by zooming in does show the objects - they were indeed very small. I couldn't edit the script associated with them but I could delete the objects and that seems to have cured the problems.
I'll drop by your store sometime and have a look around. Once again, thanks for the solution which will certainly help others having the same problem in the future. Best Wishes, Cathal.
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
10-24-2006 16:44
If you can't edit the script in your walk replacer, you might want to look for one of the open source versions. There's a number of good ones out there.
|