WoW:API MoveForwardStop: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 19: Line 19:
----
----
;''Example''
;''Example''
  MoveForwardStop(######);
  MoveForwardStop(GetTime()*1000 + 2000);


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


: The player stops moving forward at the specified 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.


----
----
{{Template:WoW API}}
{{Template:WoW API}}

Revision as of 23:44, 24 April 2005

MoveForwardStop -Documentation by AlexanderYoshi-

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.

Template:WoW API