Fandom

WoWWiki

API GetLanguageByIndex

104,755pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetLanguageByIndex

Returns the language specified by the index that your character can speak.

Language = GetLanguageByIndex(index)

Parameters Edit

Arguments Edit

index
index 
Numeric - The index starting at 1.

Returns Edit

Language
Language 
String - Returns the language specified by the index that your character can speak.

Example Edit

for x=1, GetNumLanguages() do
  DEFAULT_CHAT_FRAME:AddMessage(GetLanguageByIndex(x))
end

See also Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.