Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

Returns true if the specified addon is load-on-demand.

loadDemand = IsAddOnLoadOnDemand(index or name)

Arguments[]

index
number - The index from 1 to GetNumAddOns(). Note that you cannot query Blizzard addons by index.
name
string - The name of the addon (as in TOC/folder filename), case insensitive.

Returns[]

loadDemand
boolean - True if the specified addon is loaded on demand.

Example[]

Loads every LoD addon.

for i = 1, GetNumAddOns() do
    if IsAddOnLoadOnDemand(i) then
        LoadAddOn(i)
    end
end


Advertisement