Jump to content
  • 0
Sangreal Arnica

PERMISSION_TRIGGER_ANIMATION? What is this and how can I set it?

Question

  • 0

That is a script error message, created when the script is supposed to stop some animation that you are using, but doesn't have permission to do it.  That sounds a little screwy, but it happens a lot.  Typically, you have been sitting on a pose ball or a scripted chair of some kind and have just stood up.  You gave permission to start an animation when you sat down, but that permission is revoked the instant that you stand up.  So the script screams its error message at you. 

The problem can be traced sometimes to poor scripting.  A newbie scripter can easily write code that tries to start or stop animations wihout asking first.  In your case, that's not likely, because you are using well-known commercial scripts that work fine for other people.  My guess is that you have been using the HUDs incorrectly.  Each of those HUDs should restart as soon as you attach them from inventory, and that should force the script to get permissions. Try detaching and then reattaching a HUD to see if that helps.  If not, select your HUD with your Edit tool and then use Build >> Scripts >> Reset Scripts to restart it.  If that doesn't work either, you may need to contact the creator for further advice, or at least read the instructions that came with the HUD.

 ETA:  A script has no way of knowing which viewer you are using, or what computer you have, so those bits of information are nice to know but irrelevant. There are a handful of functions that require a viewer with a V3 codebase (like Firestorm or V3 itself) and would fail on 1.23 or Phoenix.  There are no functions that work only on V1, however.

  • Like 1

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

That is a script error message, created when the script is supposed to stop some animation that you are using, but doesn't have permission to do it.  That sounds a little screwy, but it happens a lot.  Typically, you have been sitting on a pose ball or a scripted chair of some kind and have just stood up.  You gave permission to start an animation when you sat down, but that permission is revoked the instant that you stand up.  So the script screams its error message at you. 

The problem can be traced sometimes to poor scripting.  A newbie scripter can easily write code that tries to start or stop animations wihout asking first.  In your case, that's not likely, because you are using well-known commercial scripts that work fine for other people.  My guess is that you have been using the HUDs incorrectly.  Each of those HUDs should restart as soon as you attach them from inventory, and that should force the script to get permissions. Try detaching and then reattaching a HUD to see if that helps.  If not, select your HUD with your Edit tool and then use Build >> Scripts >> Reset Scripts to restart it.  If that doesn't work either, you may need to contact the creator for further advice, or at least read the instructions that came with the HUD.

 ETA:  A script has no way of knowing which viewer you are using, or what computer you have, so those bits of information are nice to know but irrelevant. There are a handful of functions that require a viewer with a V3 codebase (like Firestorm or V3 itself) and would fail on 1.23 or Phoenix.  There are no functions that work only on V1, however.

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

Before a script can animate you (or stop an animation) it needs your permission so to do.   That's what the dialog boxes you may have seen when using dance balls, hug/kiss devices or some furniture are all about.

If you're sitting on something that needs animation permissions, or wearing it --- as normally you would be wearing a hud --  it still has to request animation permissions but these are granted automatically, and silently, so you don't see any dialog boxes.

What sometimes happens with huds is that the scripter doesn't allow for the possibility that, under certain circumstances,   the script doesn't have (or may have lost) animation permissions before trying to stop existing animations.   It's an annoyance, nothing more.   You should only see it when you're loading animations, and possibly when you wear the hud for the first time after loading them.   It shouldn't appear again, and it shouldn't affect the way the device operates.

There's nothing you can do directly to suppress the message, I'm sorry to say.   The scripter could, quite easily, so you may want to take it up with them.   I doubt it's anything to do with the viewer, and certainly not since you're getting it with the official viewer -- there are some settings in third party viewers that could be causing it, but I really don't think,  from what you describe, that that's the issue here.

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

y try reset the forniture if  is your,  if only you have a trouble with one,  trata de reiniciar el mueble si es que es tuyo. y mas si es el unico que te da problema

Share this post


Link to post
Share on other sites
  • 0

Hi guys , i'm posting here about PERMISSION_TRIGGER_ANIMATION.

I've a drink dispenser and inside it, there's avmenu script, avprop script and the drinks to "give".

In the drinks objects, there's avobject script, play animation script and the animation.

When you get a drink, it ask your permission to play the "hold animation" AND there's an error script from the drinks that say "Script trying to stop animations but PERMISSION_TRIGGER_ANIMATION permission not set" 😤  i've been searching on the internet on how to set the permission but Nothing clear.

So, if someone knows how to stop this error message it would be cool to let me know ! ☺️

 

Share this post


Link to post
Share on other sites
  • 0

@LAHIN Milo The answer is in the responses already posted in this ancient thread, above your post.  Innula put it very  succinctly:

On 9/1/2012 at 2:58 PM, Innula Zenovka said:

There's nothing you can do directly to suppress the message, I'm sorry to say.   The scripter could, quite easily, so you may want to take it up with them.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...