WoW:API CameraOrSelectOrMoveStart: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 1: Line 1:
Simulates depressing the left mouse button.  When used alone, puts you into a "mouselook" mode until you press and release the actual left mouse button, or use the CameraOrSelectOrMoveStop command.
This function is called when left clicking in the 3-D world, specifically when a spell is awaiting a target.  If you hook this function and grab UnitName("mouseover") or save the target "mouseover" you will be able to know which unit was clicked on.  Once the original function is called, the "mouseover" will not have a value.
 
 
Also, simulates depressing the left mouse button.  When used alone, puts you into a "mouselook" mode until you press and release the actual left mouse button, or use the CameraOrSelectOrMoveStop command.


Example:
Example:


/script CameraOrSelectOrMoveStart();
/script CameraOrSelectOrMoveStart();




Anonymous user