WoW:API SitStandOrDescendStart: Difference between revisions

→‎Notes: Note taht you can use DoEmote("SIT"|"STAND") instead
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.
Anonymous user