{"name":"getDLCs","operator":null,"title":"getDLCs","type":"command","url":"https://community.bistudio.com/wiki/getDLCs","revid":377087,"updated":"2026-01-01T09:46:01Z","groups":["DLC"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.16"}],"since":{"game":"arma3","name":"Arma 3","version":"1.16"},"arma3_since":"1.16","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns array of app IDs of DLCs.","syntaxes":[{"syntax":"getDLCs filter","since":null,"effect":null,"exec":null,"params":[{"name":"filter","type":"Number one of:","optional":false,"default":null,"description":"Number one of:\n- 0 - all\n- 1 - owned\n- 2 - not owned","types":["Number"],"since":null,"text":"filter: Number one of:\n- 0 - all\n- 1 - owned\n- 2 - not owned"}],"returns":{"type":"Array of Numbers","types":["Array","Number"],"description":"App IDs","text":"Array of Numbers - App IDs"},"form":"unary","operator":null,"left":null,"right":{"text":"filter","types":["Number"]}}],"examples":[{"text":"```sqf\n_ownedDLCs = getDLCs 1;\n```","code":["_ownedDLCs = getDLCs 1;"]},{"text":"```sqf\n_hasKarts = (288520 in (getDLCs 1));\n```","code":["_hasKarts = (288520 in (getDLCs 1));"]}],"multiplayer":null,"problems":null,"aliases":[],"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.\n\nI am also pretty sure you are able to define your own app ID for your own mods using this method."}],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: DLC","Introduced with Arma 3 version 1.16","Scripting Commands"]}