Wikia

WoWWiki

API TurnOrActionStart

Talk0
101,390pages on
this wiki
WoW API < TurnOrActionStart

Begin "Right click" in the 3D game world.

TurnOrActionStart()

Parameters Edit

Arguments Edit

()

Returns Edit

nil


Details Edit

This function is called when right clicking in the 3D world.
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 "mouseturn" mode until TurnOrActionStop is called.
IMPORTANT: The normal restrictions regarding hardware event initiations still apply to anything this function might do.

Around Wikia's network

Random Wiki