Hellenia Posted July 11, 2011 Share Posted July 11, 2011 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 More sharing options...
Innula Zenovka Posted July 11, 2011 Share Posted July 11, 2011 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. 2 Link to comment Share on other sites More sharing options...
Hellenia Posted July 19, 2011 Author Share Posted July 19, 2011 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 More sharing options...
Innula Zenovka Posted July 19, 2011 Share Posted July 19, 2011 It would be easier to advise if I knew a bit more about the script you're using. How does it know when you want to play the animation and stop the avatar from using the movement keys? Link to comment Share on other sites More sharing options...
Recommended Posts
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