Jump to content

IS this Possible ?


Hellenia
 Share

You are about to reply to a thread that has been inactive for 3665 days.

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

Recommended Posts

When an avatar is subjected to a static pose he or she can still move by pressing the movement controls although frozen in the static pose.

 

Is it possible to make a static pose that would not let the avatar move by pressing the movement controls after they are being animated by the static pose.

 

Thanks for listening.

Link to comment
Share on other sites

I think you would need to tackle the problem using the script that plays the animation.  

Take PERMISSION_TAKE_CONTROLS at the same time you take PERMISSION_TRIGGER_ANIMATION and call llTakeControls(specified controls,TRUE,FALSE) to disable them when you want to play the animation.   Don't forget to call llTakeControls(specified controls, FALSE,TRUE) to re-enable them when the animation finishes, and to release them when it's all over.

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...

sorry was away for a while, thank you somuch though

 

what I understand is that run_time_permissions is the event and llTakeControls is going to be the function in that event to control it

 

llRequestPermissions(llGetOwner(),PERMISSION_TAKE_CONTROLS);

run_time_permissions

{

if(perm & PERMISSION_TAKE_CONTROLS);       

{         

integer controls = CONTROL_FWD | CONTROL_BACK | CONTROL_LEFT | CONTROL_RIGHT | CONTROL_UP | CONTROL_DOWN;

llTakeControls(controls, TRUE, FALSE);           }    }

 

but it is not working, sure I did something wrong.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3665 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
 Share

×
×
  • Create New...