WoW:API CameraOrSelectOrMoveStart: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m ({{wowapi}})
Line 1: Line 1:
<center>'''CameraOrSelectOrMoveStart'''</center>
{{wowapi}}
 
{{protectedapi|1.10|}}
Begin "Left click" in the 3D world.
Begin "Left click" in the 3D world.


Line 22: Line 22:


: IMPORTANT: The normal restrictions regarding hardware event initiations still apply to anything this function might do.
: IMPORTANT: The normal restrictions regarding hardware event initiations still apply to anything this function might do.
----
__NOTOC__
__NOTOC__
{{Template:WoW API}}

Revision as of 21:13, 18 June 2006

WoW API < CameraOrSelectOrMoveStart

Begin "Left click" in the 3D world.

CameraOrSelectOrMoveStart()

Parameters

Arguments

()

Returns

nil


Details

This function is called when left clicking in the 3-D world. Most usefull it will select a target for a pending spell cast.
Calling this function clears the "mouseover" unit.
If you hook this function be sure to grab UnitName("mouseover") or target the "mouseover" unit because once the original function is called, the "mouseover" will not have a value.
When used alone, puts you into a "mouselook" mode until CameraOrSelectOrMoveStop is called.
IMPORTANT: The normal restrictions regarding hardware event initiations still apply to anything this function might do.