allAddonsInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Mods and Addons |GROUP1=
|gr1= Mods and Addons |GROUP1=
____________________________________________________________________________________________


|Returns the list of all loaded addons.|DESCRIPTION=
|Returns the list of all loaded addons.|DESCRIPTION=
____________________________________________________________________________________________


|s1= [[allAddonsInfo]] |SYNTAX=
|s1= [[allAddonsInfo]] |SYNTAX=
Line 20: Line 17:
  |RETURNVALUE=
  |RETURNVALUE=


____________________________________________________________________________________________


|x1= <code>[[allAddonsInfo]]
|x1= <code>[[allAddonsInfo]]
Line 34: Line 30:
]
]
<nowiki>*</nowiki>/}}</code>|EXAMPLE1=  
<nowiki>*</nowiki>/}}</code>|EXAMPLE1=  
____________________________________________________________________________________________





Revision as of 00:13, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns the list of all loaded addons.
Groups:
Mods and Addons

Syntax

Syntax:
allAddonsInfo
Return Value:
Array of Arrays in format [prefix, version, isPatched], where:
  • prefix: String - addon prefix
  • version: String - addon revision version
  • isPatched: Boolean - true if patching is enabled and this addon is being patched

Examples

Example 1:
allAddonsInfo /* [ ["bin\","146398",false], ["core\","129618",false], ["Languagecore_F\","148726",false], ["a3\air_f_enoch\","145904",false], ["a3\anims_f_enoch\","146917",false], ["a3\armor_f_enoch\","145904",false], ... ] */

Additional Information

See also:
addonFiles

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

Notes

Bottom Section