Wikia

WoWWiki

API CameraOrSelectOrMoveStart

Talk3
101,311pages on
this wiki
Revision as of 09:28, January 20, 2007 by VoidvectorBot (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < CameraOrSelectOrMoveStart

Begin "Left click" in the 3D world.

CameraOrSelectOrMoveStart()

Parameters Edit

Arguments Edit

()

Returns Edit

nil


Details Edit

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.
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.

Around Wikia's network

Random Wiki