WoW:API MoveForwardStop: Difference between revisions
Jump to navigation
Jump to search
MoveForwardStop -Documentation by AlexanderYoshi-
No edit summary |
No edit summary |
||
| Line 26: | Line 26: | ||
;''Description'' | ;''Description'' | ||
: The player stops moving forward at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so MoveForwardStop(GetTime()*1000 + 2000); would cause you to stop moving forward in two seconds' time | : The player stops moving forward at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so MoveForwardStop(GetTime()*1000 + 2000); would cause you to stop moving forward 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.10, calling this function causes the addon to generate UI errors. This can no longer be used effectively. | |||
---- | ---- | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||
Revision as of 18:11, 1 April 2006
The player stops moving forward at the specified time.
MoveForwardStop(startTime);
- Arguments
- (Number stopTime)
- stopTime
- Stop moving forward at this time
- Returns
- nil
- Example
MoveForwardStop(GetTime()*1000 + 2000);
- Result
- Description
- The player stops moving forward at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so MoveForwardStop(GetTime()*1000 + 2000); would cause you to stop moving forward 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.10, calling this function causes the addon to generate UI errors. This can no longer be used effectively.