Arma 3 Scripting

Command in DLC

getAssetDLCInfo

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns DLC information about given object or model.

Syntax

Syntax 1

getAssetDLCInfo asset

Parameters:

Returns: Array with [isDlc, isOwned, isInstalled, isAvailable, appID, DLCName]

Syntax 2

getAssetDLCInfo [class, config]

Parameters:

Returns: Array with [isDlc, isOwned, isInstalled, isAvailable, appID, DLCName]

Examples

Example 1

getAssetDLCInfo player;

Example 2

getAssetDLCInfo "a3\Weapons_F_Enoch\Rifles\MSBS\MSBS65_F";

Example 3

getAssetDLCInfo ["C_Van_01_transport_F"];

Example 4

getAssetDLCInfo ["arifle_AK12_F", configFile >> "CfgWeapons"];

See also

getDLCs · getObjectDLC · getPersonUsedDLCs · getMissionDLCs · getDLCAssetsUsageByName · getDLCAssetsUsage