WoW:API StrafeRightStart: Difference between revisions

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


Line 19: Line 19:
----
----
;''Example''
;''Example''
  StrafeRightStart(######);
  StrafeRightStart(GetTime()*1000 + 1000);


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


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

Latest revision as of 04:47, 15 August 2023

WoW API < StrafeRightStart

The player begins strafing right at the specified time.

StrafeRightStart(startTime);

Arguments
(Number startTime)
startTime
Begin strafing right at this time

Returns
nil

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

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