WoW:API CameraOrSelectOrMoveStart (source)
Revision as of 13:23, 8 September 2005
, 8 September 2005no edit summary
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
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(); | ||