Fandom

WoWWiki

API GetNumLanguages

Redirected from API GetNumLaguages

104,757pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetNumLanguages

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.

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.