WoW:API GetBindLocation: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API GetBindLocation to WoW:API GetBindLocation without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__
Example:
  bindLocation = GetBindLocation();


Returns the String name of the subzone the "player" is bound at, e.g. "Tarren Mill", "Crossroads", or "Brill".
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".
----
----

Latest revision as of 04:45, 15 August 2023

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