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. A list of all official DLCs: Thanks to Sniperwolf572, Armitxes, Midnighters and HazJ

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

Multiplayer:
-
See also:
getObjectDLCgetPersonUsedDLCsgetMissionDLCs

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

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