WoW:API TurnLeftStop: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API TurnLeftStop to API TurnLeftStop without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''TurnLeftStop''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
{{protectedapi|1.10|}}
The player stops turning left at the specified time.
The player stops turning left at the specified time.


  TurnLeftStop(startTime);
  TurnLeftStop(stopTime);


----
----
;''Arguments''
;''Arguments''
 
:
:(Number stopTime)
:;stopTime : Stop turning left at this time.
 
:;stopTime : Stop turning left at this time


----
----
Line 26: Line 24:
;''Description''
;''Description''


: The player stops turning left at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so TurnLeftStop(GetTime()*1000 + 2000); would cause you to stop turning 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.
: The player stops turning left at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so TurnLeftStop(GetTime()*1000 + 2000); would cause you to stop turning 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.
----
{{Template:WoW API}}
[[Category:API Functions|TurnLeftStop]]
[[Category:API Movement Functions|TurnLeftStop]]

Latest revision as of 04:47, 15 August 2023

WoW API < TurnLeftStop

The player stops turning left at the specified time.

TurnLeftStop(stopTime);

Arguments
stopTime
Stop turning left at this time.

Returns
nil

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

Description
The player stops turning left at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so TurnLeftStop(GetTime()*1000 + 2000); would cause you to stop turning 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.