Arma 3 Scripting

getDLCs

  • Arma 3 v1.16

Command · Markdown · JSON · original wiki page

Description

Returns array of app IDs of DLCs.

Syntax

getDLCs filter

Parameters:

Returns: Array of Numbers - App IDs

Examples

Example 1

_ownedDLCs = getDLCs 1;

Example 2

_hasKarts = (288520 in (getDLCs 1));

See also

getObjectDLC · getPersonUsedDLCs · getMissionDLCs · getDLCAssetsUsageByName · getDLCAssetsUsage · getAssetDLCInfo

Community notes

Benargee

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.