WoW API: GetBindLocation

From AddOn Studio
Jump to navigation Jump to search
Reference 

WoW API < GetBindLocation

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

Arguments[edit]

None

Returns[edit]

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".