WoW API: TurnRightStop

Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API TurnRightStop to API TurnRightStop without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < TurnRightStop

The player stops turning right at the specified time.

TurnRightStop(startTime);

Arguments
(Number stopTime)
stopTime
Stop turning right at this time

Returns
nil

Example
TurnRightStop(GetTime()*1000 + 2000);
Result

Description
The player stops turning right at the specified time. Units are thousandths of a second, current time is GetTime() * 1000, so TurnRightStop(GetTime()*1000 + 2000); would cause you to stop turning 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.