WoW:API SitStandOrDescendStart: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m ({{wowapi}})
(→‎Notes: Note taht you can use DoEmote("SIT"|"STAND") instead)
Line 1: Line 1:
{{wowapi}}
{{wowapi}} __NOTOC__ {{protectedapi|2.1|}}
The player sits or stands.


SitOrStand();
The player sits, stands, or begins to descend (while swimming or flying)


----
SitStandOrDescendStart();
;''Arguments''
 
== Arguments ==


:''none''
:''none''


----
== Returns ==
;''Returns''


:;nil
:;nil


----
== Example ==
;''Example''
SitStandOrDescendStart();
SitOrStand();
 
=== Result ===
: The player sits, stands back up, or begins to descend (if flying or swimming)
 
== Notes ==
 
* Prior to patch 2.1, when the descending functionality was added, this API was "SitOrStand()".
 
* You can use [[API DoEmote|DoEmote]]("STAND") / [[API DoEmote|DoEmote]]("SIT") to accomplish what this API did prior to being protected.
 


;''Result''
{{seealso|[[API DescendStop|DescendStop()]]}}
: The player sits or stands.

Revision as of 07:05, 3 June 2007

WoW API < SitStandOrDescendStart

The player sits, stands, or begins to descend (while swimming or flying)

SitStandOrDescendStart();

Arguments

none

Returns

nil

Example

SitStandOrDescendStart();

Result

The player sits, stands back up, or begins to descend (if flying or swimming)

Notes

  • Prior to patch 2.1, when the descending functionality was added, this API was "SitOrStand()".
  • You can use DoEmote("STAND") / DoEmote("SIT") to accomplish what this API did prior to being protected.


See also: [[DescendStop()]]