WoW:API CameraOrSelectOrMoveStart: Difference between revisions

m
Move page script moved page API CameraOrSelectOrMoveStart to WoW:API CameraOrSelectOrMoveStart without leaving a redirect
m (Reformatted.)
m (Move page script moved page API CameraOrSelectOrMoveStart to WoW:API CameraOrSelectOrMoveStart without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
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 9: Line 9:


=== Returns ===
=== Returns ===
:<i>nil</i>
:''nil''




== Details ==
== 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.
: This function is called when left-clicking in the 3-D world. It is most useful for selecting a target for a pending spell cast.


: Calling this function clears the "mouseover" unit.
: 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.
: If you hook this function, be sure to grab <tt>UnitName("mouseover")</tt> 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 [[API CameraOrSelectOrMoveStop|CameraOrSelectOrMoveStop]] is called.
: When used alone, puts you into a "mouselook" mode until [[API CameraOrSelectOrMoveStop|CameraOrSelectOrMoveStop]] is called.


: 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}}
[[Category:API Action Functions|CameraOrSelectOrMoveStart]]
[[Category:API Camera Functions|CameraOrSelectOrMoveStart]]
[[Category:API Movement Functions|CameraOrSelectOrMoveStart]]
Anonymous user