{"name":"getDLCs","title":"getDLCs","type":"command","url":"https://community.bistudio.com/wiki/getDLCs","revid":377087,"updated":"2026-01-01T09:46:01Z","groups":["DLC"],"status":"ok","games":{"arma3":"1.16"},"since":"arma3 1.16","arma3_since":"1.16","description":"Returns array of app IDs of DLCs.","syntaxes":[{"syntax":"getDLCs filter","params":[{"name":"filter","type":"Number one of:","description":"Number one of:\n\n- 0 - all\n- 1 - owned\n- 2 - not owned","type_expr":"Number","text":"filter: Number one of:\n\n- 0 - all\n- 1 - owned\n- 2 - not owned"}],"returns":{"type":"Array of Numbers","type_expr":"Array<Number>","description":"App IDs"},"form":"unary","right":{"text":"filter"}}],"examples":[{"code":["_ownedDLCs = getDLCs 1;"]},{"code":["_hasKarts = (288520 in (getDLCs 1));"]}],"see_also":["getObjectDLC","getPersonUsedDLCs","getMissionDLCs","getDLCAssetsUsageByName","getDLCAssetsUsage","getAssetDLCInfo"],"notes":[{"user":"Benargee","date":"2015-04-07T20:27:00Z","text":"App ID can be found in CfgMods. Here is an example path from zeus using the Splendid Config Viewer:\n\n```sqf\nconfigFile >> \"CfgMods\" >> \"Curator\" >> \"appId\"\n```\n\nThis method can be used to find app IDs without having to find a list like the one above.\nI am also pretty sure you are able to define your own app ID for your own mods using this method."}]}