{"name":"getPersonUsedDLCs","title":"getPersonUsedDLCs","type":"command","url":"https://community.bistudio.com/wiki/getPersonUsedDLCs","revid":352086,"updated":"2024-02-01T23:24:46Z","groups":["Broken Commands","DLC"],"status":"broken","games":{"arma3":"1.36"},"since":"arma3 1.36","arma3_since":"1.36","locality":{"argument":"global"},"description":"Returns a list of all DLCs objects the unit is currently using. For example if a unit is inside a vehicle from DLC, it will return the code of that DLC.","syntaxes":[{"syntax":"getPersonUsedDLCs unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"Array of Numbers","type_expr":"Array<Number>"},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["_objects = getPersonUsedDLCs player;"]}],"problems":"> [!WARNING]\n> This command does not work on a dedicated server.","see_also":["getDLCs","getObjectDLC","getMissionDLCs","getDLCAssetsUsageByName","getDLCAssetsUsage","getAssetDLCInfo"]}