allAddonsInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|Comments= ____________________________________________________________________________________________ | arma3dev |Game name= |1.99 |Game version= ________________...")
 
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3dev |Game name=
|game1= arma3
|version1= 2.00


|1.99 |Game version=
|gr1= Mods and Addons
____________________________________________________________________________________________


|Returns the list of all loaded addons in format [prefix, version, isPatched]|DESCRIPTION=
|descr=Returns the list of all loaded addons.
____________________________________________________________________________________________


|s1= [[allAddonsInfo]] |SYNTAX=
|s1= [[allAddonsInfo]]


|r1= [[Array]] of [[Array]]s - |RETURNVALUE=
|r1= [[Array]] of [[Array]]s 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


____________________________________________________________________________________________
|x1= <code>[[allAddonsInfo]]
 
{{codecomment|/*
|x1= <code>[[allAddonsInfo]]</code>|EXAMPLE1=
[
____________________________________________________________________________________________
["bin\","146398",false],
 
["core\","129618",false],
 
["Languagecore_F\","148726",false],
|seealso= [[addonFiles]] |SEEALSO=
["a3\air_f_enoch\","145904",false],
["a3\anims_f_enoch\","146917",false],
["a3\armor_f_enoch\","145904",false],
...
]
<nowiki>*</nowiki>/}}</code>


|seealso= [[addonFiles]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Revision as of 00:14, 14 June 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