Jump to content

llTakeControls gotcha


Innula Zenovka
 Share

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

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

Recommended Posts

I was bitten the other day by a very nasty bug of which I was hitherto unaware:  SVC-7532, llTakeControls(*,FALSE,TRUE) prevents left clicks from mouselook.   I thought I'd mention it here because I doubt I'm the only person who didn't know about it.

The jira title is rather misleading because, as the comments suggest, that is not true in all cases; for example, apparently llTakeControls(CONTROL_ML_LBUTTON,FALSE, TRUE) doesn't prevent left clicks from mouselook but is broken in other ways.

However, it is certainly the case that calling llTakeControls(CONTROL_FWD,FALSE, TRUE) in order to keep a script running in no-script areas blocks left clicks while in mouselook while llTakeControls(CONTROL_FWD,TRUE, TRUE) doesn't.

This thread at SLU has the details.    The bug is particularly insidious because it could quite possibly be caused by a script in an attachment that you're not able to inspect.   

 

Link to comment
Share on other sites

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