Poltergeist Azarov Posted August 31, 2014 Share Posted August 31, 2014 As I realized today, sometimes my script loses controls taken by llTakeControls() in normal view mode. When this happens, control() event only triggers in mouselook mode. Any ideas? Thanks... Link to comment Share on other sites More sharing options...
Miranda Umino Posted August 31, 2014 Share Posted August 31, 2014 First point : don t be confused by CONTROL_ML_LBUTTON ( triggered only on mouselook mode and a left click mouse ) and CONTROL_LBUTTON ( triggered only in normal view mode and a left click mouse ) Second point : If it happens when you use the keyboard AND if you handle the keyboard : it s because your rates for your hardware are different between the keyboard and the mouse : generally , keyboard triggers 45 events per seconds , mouse triggers 26 events per seconds. (It can be different on some different computers) I tell this because you can move your avatar on clicking on the land and without use the keyboard in normal view ; in mouselook you are obliged to use the keyboard to move your avatar So , maybe your count is not correct and you count some keyboard events in mouselook mode Link to comment Share on other sites More sharing options...
Poltergeist Azarov Posted August 31, 2014 Author Share Posted August 31, 2014 Problem occurs when i request animation permission from another sitter on the vehicle. And not always... After few animation permission requests, control() stops triggering any of controls in normal view mode. This seems to be a bug to me. Which forces me to refresh control permission each time i request animation permission which causes different problems. Link to comment Share on other sites More sharing options...
Miranda Umino Posted August 31, 2014 Share Posted August 31, 2014 Your script is probably incorrect , so . When you call llRequestPermissions , it revokes the old permissions . So , when you call llRequestPermissions to control animations for the second avatar , you loose the previous premissions granted to the first avatar To animate your second avatar , use a second separated script Link to comment Share on other sites More sharing options...
Poltergeist Azarov Posted August 31, 2014 Author Share Posted August 31, 2014 Thank you for making me aware of that . Its possible to keep control() event yo trigger though, that was the thing which confuses me and made me thought there was a bug. Link to comment Share on other sites More sharing options...
Poltergeist Azarov Posted September 2, 2014 Author Share Posted September 2, 2014 As I realized today, when I take controls for vehicle driver in script1, and change few permissions between few sitters and drivers in script2, this causes to lose permissions in script1 for driver. then driver seems to be only able to control vehicle in mouselook mode. so control() event does not trigger in normal view mode when this happens. :\ 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