addonFiles

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 Development Branch version 1.991.99DEV BRANCH ONLY ⚠
Hover & click on the images for descriptions

Description

Description:
Returns a list of files present in the addon.
Querying protected .ebo addons returns empty array [].

Syntax

Syntax:
addonFiles [pboPrefix, fileExtension]
Parameters:
[pboPrefix, fileExtension] - Array
pboPrefix: String - addon prefix available from allAddonsInfo
fileExtension (Optional): String - file extension to filter results, for example ".paa"
Return Value:
Array of Strings

Examples

Example 1:
addonFiles ["a3\3den\", ".paa"]; /* [ "a3\3den\data\attributes\formation\ech_left_ca.paa", "a3\3den\data\attributes\formation\stag_column_ca.paa", "a3\3den\data\attributes\stance\down_ca.paa", "a3\3den\data\cfg3den\layer\icondisabled_ca.paa", "a3\3den\data\controlsgroups\diagmousecontrol\mouse_ca.paa", ... ] */

Additional Information

See also:
allAddonsInfo

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section