WoW:API TurnRightStart: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m ({{wowapi}}, protected note.)
Line 1: Line 1:
<center>'''TurnRightStart''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
{{protectedapi|1.10|}}
The player begins turning right at the specified time.
The player begins turning right at the specified time.


Line 27: Line 27:


: The player begins turning right at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so TurnRightStart(GetTime()*1000 + 1000); would cause you to start turning right in one second's time.  
: The player begins turning right at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so TurnRightStart(GetTime()*1000 + 1000); would cause you to start turning right in one second's 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}}

Revision as of 11:48, 18 June 2006

WoW API < TurnRightStart

The player begins turning right at the specified time.

TurnRightStart(startTime);

Arguments
(Number startTime)
startTime
Begin turning right at this time

Returns
nil

Example
TurnRightStart(GetTime()*1000 + 1000);
Result

Description
The player begins turning right at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so TurnRightStart(GetTime()*1000 + 1000); would cause you to start turning right in one second's 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.