WoW API: GetBindLocation

WoW API < GetBindLocation

Finds the subzone the player's Hearthstone is set to.

ArgumentsEdit

None

ReturnsEdit

Returns the String name of the subzone the player's Hearthstone is set to, e.g. "Tarren Mill", "Crossroads", or "Brill".

Example:Edit

bindLocation = GetBindLocation();

If the player's Hearthstone is set to the inn at Allerian Stronghold then bindLocation assigned "Allerian Stronghold".