WoW:API TurnLeftStop: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 30: Line 30:
----
----
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|TurnLeftStop]]
[[Category:API Movement Functions|TurnLeftStop]]

Revision as of 14:41, 4 January 2006

TurnLeftStop -Documentation by AlexanderYoshi-

The player stops turning left at the specified time.

TurnLeftStop(startTime);

Arguments
(Number stopTime)
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.

Template:WoW API