WoW:API TurnRightStop: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m ({{wowapi}}, protected note.) |
||
Line 1: | Line 1: | ||
{{wowapi}} | |||
{{protectedapi|1.10|}} | |||
The player stops turning right at the specified time. | The player stops turning right at the specified time. | ||
Line 27: | Line 27: | ||
: The player stops turning right at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so TurnRightStop(GetTime()*1000 + 2000); would cause you to stop turning right in two seconds' time. | : The player stops turning right at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so TurnRightStop(GetTime()*1000 + 2000); would cause you to stop turning right 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. | |||
Revision as of 11:51, 18 June 2006
← WoW API < TurnRightStop
This function is PROTECTED, and can only be called from Blizzard code.
|
The player stops turning right at the specified time.
TurnRightStop(startTime);
- Arguments
- (Number stopTime)
- stopTime
- Stop turning right at this time
- Returns
- nil
- Example
TurnRightStop(GetTime()*1000 + 2000);
- Result
- Description
- The player stops turning right at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so TurnRightStop(GetTime()*1000 + 2000); would cause you to stop turning right 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.