WoW:API GetBindLocation: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
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".
----
----

Revision as of 02:12, 12 December 2008

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