getDLCs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Move DLC list)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.16|= Game version
|1.16|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns array of appIDs of DLCs. A list of all official DLCs:
| Returns array of appIDs of DLCs. See [[:Category:Command Group: DLC|DLC list]]. |DESCRIPTION=
* 275700 - [http://store.steampowered.com/app/275700/ Zeus]
* 249860 - Soundtrack
* 304400 - [http://store.steampowered.com/app/304400/ DLC Bundle 1]
* 249861 - [http://store.steampowered.com/app/249861/ Maps]
* 249862 - [http://store.steampowered.com/app/249862/ Tactical Guide]
* 288520 - [http://store.steampowered.com/app/288520/ Karts]
* 304380 - [http://store.steampowered.com/app/304380/ Helicopters]
* 332350 - [http://store.steampowered.com/app/332350/ Marksmen]
* '''395180 - [http://store.steampowered.com/app/395180/ Apex]'''
* 612480 - [http://store.steampowered.com/app/612480/ DLC Bundle 2]
* 571710 - [http://store.steampowered.com/app/571710/ Laws of War]
* 601670 - [http://store.steampowered.com/app/601670/ Jets]
* 744950 - [http://store.steampowered.com/app/744950/ Tac Ops]
* 798390 - [http://store.steampowered.com/app/798390/ Tanks]
* 1021790 - [https://store.steampowered.com/app/1021790/ Contact]
''Thanks to [[User:Sniperwolf572|Sniperwolf572]], [[User:Armitxes|Armitxes]], [[User:Midnighters|Midnighters]] and [[User:HazJ|HazJ]]'' |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''getDLCs''' filter |SYNTAX=
| [[getDLCs]] filter |SYNTAX=


|p1=  filter: [[Number]] - can be:<br />
|p1=  filter: [[Number]] - can be:<br />
Line 41: Line 25:


| [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]] |SEEALSO=
| [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]] |SEEALSO=
____________________________________________________________________________________________
}}
}}



Revision as of 17:01, 31 August 2019

Hover & click on the images for description

Description

Description:
Returns array of appIDs of DLCs. See DLC list.
Groups:
Uncategorised

Syntax

Syntax:
getDLCs filter
Parameters:
filter: Number - can be:
0 - all
1 - owned
2 - not owned.
Return Value:
Array - array of DLC numbers (see above)

Examples

Example 1:
_ownedDLCs = getDLCs 1;
Example 2:
_hasKarts = (288520 in (getDLCs 1));

Additional Information

See also:
getObjectDLCgetPersonUsedDLCsgetMissionDLCs

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

Posted on April 7, 2015 - 20:27 (UTC)
Benargee
To add to the note above, app ID can be found in CfgMods. Here is an example path from zeus using the Splendid Config Viewer: configFile >> "CfgMods" >> "Curator" >> "appId" This method can be used to find app IDs without having to find a list like the one above.
I am also pretty sure you are able to define your own app ID for your own mods using this method.

Bottom Section