Wikia

WoWWiki

API GetLanguageByIndex

Talk0
101,784pages on
this wiki
Revision as of 07:21, January 27, 2010 by Egingell (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
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