getDLCs

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.16
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.16

Description

Description:
Returns array of appIDs of DLCs. Use filter param to get specific type of DLCs:
0 - all
1 - owned
2 - not owned

Syntax

Syntax:
getDLCs filter
Parameters:
filter: Number
Return Value:
Array - array of numbers

Examples

Example 1:
_ownedDLCs = getDLCs 1;
Example 2:
Is the Karts DLC owned by this client? hintSilent str (288520 in (getDLCs 1));

Additional Information

Multiplayer:
-
See also:
getObjectDLC getPersonUsedDLCs getMissionDLCs

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Posted on May 30, 2014 - 18:08 (UTC)
Sniperwolf572
Current list of IDs that correspond to the available DLCs:

275700 - Arma 3 Zeus
249860 - Arma 3 Soundtrack
304400 - Arma 3 DLC Bundle
249861 - Arma 3 Maps
249862 - Arma 3 Tactical Guide
288520 - Arma 3 Karts
304380 - Arma 3 Helicopters
332350 - Arma 3 Marksmen
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.
Posted on July 1, 2016 - 17:33 (UTC)
Armitxes
The required DLC-IDs equal to the Steam App-IDs of each obtainable DLC.
To extend Sniperwolfs list:

395180 - Arma 3 Apex