Difference between revisions of "allAddonsInfo"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
m (Some wiki formatting)
 
Line 6: Line 6:
 
|gr1= Mods and Addons
 
|gr1= Mods and Addons
  
|descr=Returns the list of all loaded addons.
+
|descr= Returns the list of all loaded addons.
  
 
|s1= [[allAddonsInfo]]
 
|s1= [[allAddonsInfo]]
Line 15: Line 15:
 
* isPatched: [[Boolean]] - [[true]] if patching is enabled and this addon is being patched  
 
* isPatched: [[Boolean]] - [[true]] if patching is enabled and this addon is being patched  
  
|x1= <code>[[allAddonsInfo]]
+
|x1= <sqf>
{{codecomment|/*
+
allAddonsInfo
 +
/*
 
[
 
[
 
["bin\","146398",false],
 
["bin\","146398",false],
Line 26: Line 27:
 
...
 
...
 
]
 
]
<nowiki>*</nowiki>/}}</code>
+
*/
 +
</sqf>
  
 
|seealso= [[addonFiles]]
 
|seealso= [[addonFiles]]
 
}}
 
}}

Latest revision as of 12:10, 4 May 2022

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