Wikia

WoWWiki

Watchlist Recent changes

API GetNumLanguages

Main Menue



Returns the number of languages your character can speak.

NumLanguages = GetNumLanguages()

Parameters Edit

Arguments Edit

none

Returns Edit

NumLanguages 
Numeric - Returns the number of languages your character can speak.

Example Edit

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

Notes Edit

  • Currently (v3.0.3) this function returns either 1 or 2. For Humans and Orcs, it returns 1. For all other races, it returns 2.

Pages on WoWWiki

94,172pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,617photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki