WoW:API StrafeRightStop: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Move page script moved page API StrafeRightStop to API StrafeRightStop without leaving a redirect) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} | |||
{{protectedapi|1.10|}} | |||
The player stops strafing right at the specified time. | The player stops strafing right at the specified time. | ||
Line 26: | Line 26: | ||
;''Description'' | ;''Description'' | ||
: The player stops strafing right at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so StrafeRightStop(GetTime()*1000 + 2000); would cause you to stop strafing 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. | : The player stops strafing right at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so StrafeRightStop(GetTime()*1000 + 2000); would cause you to stop strafing 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. | |||
Latest revision as of 04:47, 15 August 2023
This function is PROTECTED, and can only be called from Blizzard code.
|
The player stops strafing right at the specified time.
StrafeRightStop(startTime);
- Arguments
- (Number stopTime)
- stopTime
- Stop strafing right at this time
- Returns
- nil
- Example
StrafeRightStop(GetTime()*1000 + 2000);
- Result
- Description
- The player stops strafing right at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so StrafeRightStop(GetTime()*1000 + 2000); would cause you to stop strafing 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.