getDLCs: Difference between revisions
Lou Montana (talk | contribs) m (Some wiki formatting) |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 10: | Line 10: | ||
|s1= [[getDLCs]] filter | |s1= [[getDLCs]] filter | ||
|p1= filter: [[Number]] | |p1= filter: [[Number]] one of: | ||
* 0 - all | * 0 - all | ||
* 1 - owned | * 1 - owned | ||
* 2 - not owned | * 2 - not owned | ||
|r1= [[Array]] - | |r1= [[Array]] of [[Number]]s - App IDs | ||
|x1= <sqf>_ownedDLCs = getDLCs 1;</sqf> | |x1= <sqf>_ownedDLCs = getDLCs 1;</sqf> | ||
Latest revision as of 10:46, 1 January 2026
Description
- Description:
- Returns array of app IDs of DLCs.
- Groups:
- DLC
Syntax
- Syntax:
- getDLCs filter
- Parameters:
- filter: Number one of:
- 0 - all
- 1 - owned
- 2 - not owned
- Return Value:
- Array of Numbers - App IDs
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- getObjectDLC getPersonUsedDLCs getMissionDLCs getDLCAssetsUsageByName getDLCAssetsUsage getAssetDLCInfo
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note
- Posted on Apr 07, 2015 - 20:27 (UTC)
-
App ID can be found in CfgMods. Here is an example path from zeus using the Splendid Config Viewer:
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.