API GetBindLocation

From Wowpedia
Jump to: navigation, search

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

Arguments

None

Returns

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

Example:

bindLocation = GetBindLocation();

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