addonFiles: Difference between revisions
Jump to navigation
Jump to search
m (Note) |
Killzone Kid (talk | contribs) (format) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|Returns the list of files contained in the addon<br>{{Informative| | |Returns the list of files contained in the addon<br><br>{{Informative|Querying protected <tt>.ebo</tt> addons returns empty array <tt>[]</tt>.}}|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|s1= [[addonFiles]] [pboPrefix, | |s1= [[addonFiles]] [pboPrefix, fileExtension] |SYNTAX= | ||
|p1= pboPrefix: [[String]] | | |p1= [pboPrefix, fileExtension] - [[Array]] |PARAMETER1= | ||
|p2= pboPrefix: [[String]] - addon prefix available from [[allAddonsInfo]]|PARAMETER2= | |||
| | |p3= fileExtension (Optional): [[String]] - file extension to filter results, for example <tt>".paa"</tt> |PARAMETER3= | ||
|r1= [[Array]] of [[String]]s|RETURNVALUE= | |r1= [[Array]] of [[String]]s|RETURNVALUE= |
Revision as of 11:15, 13 May 2020
Description
- Description:
- Returns the list of files contained in the addon
- Groups:
- Uncategorised
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"];
Additional Information
- See also:
- allAddonsInfo
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
[[Category:Introduced with arma3dev version 1.99]][[ Category: arma3dev: New Scripting Commands | ADDONFILES]][[ Category: arma3dev: Scripting Commands | ADDONFILES]]