WoW:API LeaveBattlefield: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API LeaveBattlefield to API LeaveBattlefield without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Leave the current battlefield if it's been won.
{{wowapi}}
Leaves the current battlefield
LeaveBattlefield()
 
== Parameters ==
=== Arguments ===
 
None
 
----
=== Returns ===
 
Nothing
 
----
 
=== Details ===


LeaveBattlefield()
Leaves the current battlefield the player is inside, pre-2.0.1 this would only leave the battlefield if it had been won or lost this was changed in 2.0.1 to exit you from the battlefield regardless if it was finished or not and will give you deserter.

Latest revision as of 04:46, 15 August 2023

WoW API < LeaveBattlefield

Leaves the current battlefield

LeaveBattlefield()

Parameters[edit]

Arguments[edit]

None


Returns[edit]

Nothing


Details[edit]

Leaves the current battlefield the player is inside, pre-2.0.1 this would only leave the battlefield if it had been won or lost this was changed in 2.0.1 to exit you from the battlefield regardless if it was finished or not and will give you deserter.