WoW API < LeaveBattlefield

Leaves the current battlefield

LeaveBattlefield()

Parameters[edit | edit source]

Arguments[edit | edit source]

None


Returns[edit | edit source]

Nothing


Details[edit | edit source]

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.

Community content is available under CC-BY-SA unless otherwise noted.