WoW:API TurnOrActionStart: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Move page script moved page API TurnOrActionStart to WoW:API TurnOrActionStart without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} | |||
{{protectedapi|1.10|}} | |||
Begin "Right click" in the 3D game world. | Begin "Right click" in the 3D game world. | ||
| Line 9: | Line 9: | ||
=== Returns === | === Returns === | ||
: | :''nil'' | ||
| 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__ | ||
Latest revision as of 04:47, 15 August 2023
| This function is PROTECTED, and can only be called from Blizzard code.
|
Begin "Right click" in the 3D game world.
TurnOrActionStart()
Parameters
Arguments
- ()
Returns
- nil
Details
- 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.