Jump to content
You are about to reply to a thread that has been inactive for 891 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Hello.  I know this has been covered many times (as I've tried to research it myself), but I haven't been able to find anything addressing my specific issue.  Most have dealt with sitting or TPing and the like.

I should start by saying I know next to nothing about scripting and only just starting to "build" or adjust some of my current furniture to my liking and for my own personal use/preference/enjoyment (not for sale) and using others' items, scripts, animations, etc.

So...I'm creating a simple drink giver which automatically gives out and attaches a number of different drinks.  I'm using AVSitter's prop/object/menu scripts (in the giver), 2 animations (drink and hold - the hold overrides the AO and works while moving, which is nice), and a simple script to animate (both in the drink props).

Now, I have to say, everything works well....the giver offers the menu of drinks (plus a "clear" button), asks permission to attach.  The prop attaches and the animations work perfectly until manually detached or "cleared" through the menu.  All the props work when manually attaching them without the giver as well.

The issue is, every time the Permission Request to attach appears, I also get the apparently common error:

"[17:36] Script trying to stop animations but PERMISSION_TRIGGER_ANIMATION permission not set".

I ignore it, grant permission and everything works fine (once the annoying little error triangle disappears).  I could go on ignoring it, I suppose, but it is annoying...and besides I wouldn't be learning anything that way either.

I'd post the script, but I don't know which it's coming from (my best guess it the "prop" script in the giver, since I get it at the attachment request).

I'd really love some help with this.  Thanks!!

Link to post
Share on other sites

I would imagine that the "simple script to animate" is what's causing the problem.   The AVSitter Prop script doesn't need attachment permissions (it rezzes the props) and the AVSitter Object script doesn't ask for them either (it handles the attaching and detaching).

Please post the animation script, and I will see what I can do.

Link to post
Share on other sites

Hello Innula.  Thank you for responding.  I hadn't considered that...and you may be right.  Unfortunately, I can't post the script as it's "no mod".  It's just titled "New Script", created by Serbitar Nemeth....which I can't recall where I even got it from now (whether bought on the MP, borrowed from another item I have or shared from a friend)...and I can't seem to find it on the MP now either to purchase a mod version.  If you have any ideas how I might be able to get you the info you'd need, please let me know....I'll be happy to do what I can to help.  I shared the script with you inworld.  Doubt it helps, but it was all I could think of at the moment....and it couldn't hurt, right?  Thank you!

Link to post
Share on other sites

Since it's no mod, there's nothing we can do with it.   

However, I would imagine it's a very basic animation script, and if you search Google for something like lsl drinking script you'll quickly find an example.

There's this, in the wiki, which looks quite reasonable:  http://wiki.secondlife.com/wiki/Drink_script

Obviously you need to change the name of the animation 

string animationToBePlayed = "drinking animation";

to whatever your drinking animation is called.

Give that a try and see what happens.

Edited by Innula Zenovka
  • Like 1
Link to post
Share on other sites

I kind of figured, but I appreciate the help.  What I liked about this script/anim combo was that it was bento and worked with the AO.  But what I think I'm going to do anyway is just buy a new full perm bento script/animation that does the same thing and replace the old and see what happens.  This way, if I still have an issue, I'll be able to post.  Thank you again!  I really appreciate all your help!

  • Like 1
Link to post
Share on other sites
You are about to reply to a thread that has been inactive for 891 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...