Jump to content

IS this Possible ?


Hellenia
 Share

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...