WoW API: GetBindLocation

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk) (Move page script moved page API GetBindLocation to API GetBindLocation without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetBindLocation

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