Returns a list of addons a given addon is optionally dependent upon
See also Addon-related functions.
Signature:
...
=
GetAddOnOptionalDependencies("name")
or
GetAddOnOptionalDependencies(index)
Arguments:
name
- Name of an addon (name of the addon's folder and TOC file, not the Title found in the TOC) (string
)index
- Index of an addon in the addon list (between 1 andGetNumAddOns()
) (number
)
Returns:
...
- A list of strings, each the (folder) name of another addon this addon is dependent upon (list
)