WoW API: StrafeRightStop

From AddOn Studio
Revision as of 11:51, 18 June 2006 by WoWWiki>Starlightblunder ({{wowapi}}, protected note)
Jump to navigation Jump to search

WoW API < StrafeRightStop

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.