Wikia

WoWWiki

API GetLanguageByIndex

Talk0
102,037pages on
this wiki
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

Around Wikia's network

Random Wiki