WoW:API MoveForwardStart: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API MoveForwardStart to API MoveForwardStart without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''MoveForwardStart''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
{{protectedapi|1.10|}}
The player begins moving forward at the specified time.
The player begins moving forward at the specified time.


Line 26: Line 26:
;''Description''
;''Description''


: The player begins moving forward at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so MoveForwardStart(GetTime()*1000 + 1000); would cause you to start moving forward 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.
: The player begins moving forward at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so MoveForwardStart(GetTime()*1000 + 1000); would cause you to start moving forward 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.
----
{{Template:WoW API}}
[[Category:API Functions|MoveForwardStart]]
[[Category:API Movement Functions|MoveForwardStart]]

Latest revision as of 04:46, 15 August 2023

WoW API < MoveForwardStart

The player begins moving forward at the specified time.

MoveForwardStart(startTime);

Arguments
(Number startTime)
startTime
Begin moving forward at this time

Returns
nil

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

Description
The player begins moving forward at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so MoveForwardStart(GetTime()*1000 + 1000); would cause you to start moving forward 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.