Thread Tools Display Modes
09-29-10, 04:04 AM   #1
Foxlit
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 91
Stopping camera rotation from insecure code

It is currently not possible to end camera rotation (hold LMB, move mouse around to rotate camera) from addon code, as CameraOrSelectOrMoveStop() is protected. The equivalent for terminating mouselook (hold RMB, move mouse around to rotate character) is MouselookStop(), which is not protected.

It would be nice to have an unprotected function like CameraStop() that would terminate camera rotation, as if the player had released the left mouse button.

[I could also live with CameraOrSelectOrMoveStop being added to the restricted environment, but that seems like the wrong solution for this issue -- the camera functionality should probably not be protected in the first place.]
__________________
... and you do get used to it, after a while.
  Reply With Quote

WoWInterface » Developer Discussions » Wish List » Stopping camera rotation from insecure code

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off