getDLCs: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
Lou Montana (talk | contribs) |
||
Line 21: | Line 21: | ||
|x2= <code>_hasKarts = (288520 [[in]] ([[getDLCs]] 1));</code> | |x2= <code>_hasKarts = (288520 [[in]] ([[getDLCs]] 1));</code> | ||
|seealso= [[getObjectDLC]] | |seealso= [[getObjectDLC]] [[getPersonUsedDLCs]], [[getMissionDLCs]], [[getDLCAssetsUsageByName]], [[getDLCAssetsUsage]], [[getAssetDLCInfo]] | ||
}} | }} | ||
Revision as of 15:51, 20 January 2022
Description
- Description:
- Returns array of app IDs of DLCs.
- Groups:
- DLC
Syntax
- Syntax:
- getDLCs filter
- Parameters:
- filter: Number - can be:
- 0 - all
- 1 - owned
- 2 - not owned
- Return Value:
- Array - Array of DLC numbers.
Examples
Additional Information
- See also:
- getObjectDLC getPersonUsedDLCsgetMissionDLCsgetDLCAssetsUsageByNamegetDLCAssetsUsagegetAssetDLCInfo
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on April 7, 2015 - 20:27 (UTC)
- Benargee
-
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.