{"name":"isDLCAvailable","operator":null,"title":"isDLCAvailable","type":"command","url":"https://community.bistudio.com/wiki/isDLCAvailable","revid":369281,"updated":"2024-09-03T18:42:47Z","groups":["DLC"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns true if the DLC (CDLC included) is marked as available on Steam.\nOfficial and Creator DLC appIds can be found on Arma 3: DLCs & Expansions and Arma 3: CDLCs pages.\n\n> [!IMPORTANT]\n> This command will return true if the DLC is owned, even if it is **not** installed!","syntaxes":[{"syntax":"isDLCAvailable appId","since":null,"effect":null,"exec":null,"params":[{"name":"appId","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"appId : Number"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"},"form":"unary","operator":null,"left":null,"right":{"text":"appId","types":["Number"]}}],"examples":[{"text":"```sqf\nprivate _karts = 288520;\nisDLCAvailable _karts; // returns true\n```","code":["private _karts = 288520;\nisDLCAvailable _karts; // returns true"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["getDLCs","getObjectDLC","getPersonUsedDLCs","getMissionDLCs"],"notes":[{"user":"Benargee","date":"2014-10-19T02:39:00Z","text":"appId can be taken from Steam DLC url, e.g Karts url is `http://store.steampowered.com/app/**288520**/`."}],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: DLC","Introduced with Arma 3 version 1.00","Scripting Commands"]}