WoW:API TurnOrActionStop: Difference between revisions

m ({{wowapi}}, protected)
m (Move page script moved page API TurnOrActionStop to API TurnOrActionStop without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}{{protectedapi|1.10|}}
{{protectedapi|1.10|}}
 
End "Right click" in the 3D game world.
End "Right click" in the 3D game world.


Line 9: Line 9:


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





Latest revision as of 04:47, 15 August 2023

WoW API < TurnOrActionStop

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

TurnOrActionStop()

Parameters

Arguments

()

Returns

nil


Details

This function is called when right clicking in the 3D world. Most usefull it can initiate attack on the selected unit if no move occurs.
When used alone, can cancel a "mouseturn" started by a call to TurnOrActionStart.
IMPORTANT: The normal restrictions regarding hardware event initiations still apply to anything this function might do.