WoW:API StrafeLeftStop: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API StrafeLeftStop to API StrafeLeftStop without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<center>'''StrafeLeftStop''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
{{protectedapi|1.10|}}
The player stops strafing left at the specified time.
The player stops strafing left at the specified time.


Line 27: Line 27:


: The player stops strafing left at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so StrafeLeftStop(GetTime()*1000 + 2000); would cause you to stop strafung left in two seconds' time.  
: The player stops strafing left at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so StrafeLeftStop(GetTime()*1000 + 2000); would cause you to stop strafung left in two seconds' time.  
 
: As of 1.6, the time parameter seems to be ignored, and this function needs to be called as the result of a button press.
As of 1.6, the time parameter seems to be ignored, and this function needs to be called as the result of a button press.
 
As of 1.10, calling this function causes the addon to generate UI errors.  This can no longer be used effectively.
 
----
{{Template:WoW API}}

Latest revision as of 04:47, 15 August 2023

WoW API < StrafeLeftStop

The player stops strafing left at the specified time.

StrafeLeftStop(startTime);

Arguments
(Number stopTime)
stopTime
Stop strafing left at this time

Returns
nil

Example
StrafeLeftStop(GetTime()*1000 + 2000);
Result

Description
The player stops strafing left at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so StrafeLeftStop(GetTime()*1000 + 2000); would cause you to stop strafung left in two seconds' time.
As of 1.6, the time parameter seems to be ignored, and this function needs to be called as the result of a button press.