Description
Returns array of app IDs of DLCs.
Syntax
getDLCs filter
Parameters:
filter: Number one of:
- 0 - all
- 1 - owned
- 2 - not owned
Returns: Array of Numbers - App IDs
Examples
Example 1
_ownedDLCs = getDLCs 1;
Example 2
_hasKarts = (288520 in (getDLCs 1));
See also
getObjectDLC · getPersonUsedDLCs · getMissionDLCs · getDLCAssetsUsageByName · getDLCAssetsUsage · getAssetDLCInfo
App ID can be found in CfgMods. Here is an example path from zeus using the Splendid Config Viewer:
configFile >> "CfgMods" >> "Curator" >> "appId"
This method can be used to find app IDs without having to find a list like the one above.
I am also pretty sure you are able to define your own app ID for your own mods using this method.