WoW:API LeaveBattlefield: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{Stub/API}})
(Updated to 2.0.1)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
{{Stub/API}}
Leaves the current battlefield
LeaveBattlefield()
 
== Parameters ==
=== Arguments ===
 
None


Leave the current battlefield if it's been won.
----
=== Returns ===


LeaveBattlefield()
Nothing
 
----
 
=== Details ===
 
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.

Revision as of 19:52, 13 December 2006

WoW API < LeaveBattlefield

Leaves the current battlefield

LeaveBattlefield()

Parameters

Arguments

None


Returns

Nothing


Details

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.