getDLCs: Difference between revisions
Jump to navigation
Jump to search
(added DLC category) |
m (template:command argument fix) |
||
Line 22: | Line 22: | ||
* 744950 - [http://store.steampowered.com/app/744950/ Tac Ops] | * 744950 - [http://store.steampowered.com/app/744950/ Tac Ops] | ||
* 798390 - [http://store.steampowered.com/app/798390/ Tanks] | * 798390 - [http://store.steampowered.com/app/798390/ Tanks] | ||
''Thanks to [[User:Sniperwolf572|Sniperwolf572]], [[User:Armitxes|Armitxes]], [[User:Midnighters|Midnighters]] and [[User:HazJ|HazJ]]'' |= | ''Thanks to [[User:Sniperwolf572|Sniperwolf572]], [[User:Armitxes|Armitxes]], [[User:Midnighters|Midnighters]] and [[User:HazJ|HazJ]]'' |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''getDLCs''' filter |= | | '''getDLCs''' filter |SYNTAX= | ||
|p1= filter: [[Number]] - can be:<br /> | |p1= filter: [[Number]] - can be:<br /> | ||
0 - all<br /> | 0 - all<br /> | ||
1 - owned<br /> | 1 - owned<br /> | ||
2 - not owned.<br /> |= | 2 - not owned.<br /> |PARAMETER1= | ||
| [[Array]] - array of DLC numbers (see above) |= | | [[Array]] - array of DLC numbers (see above) |RETURNVALUE= | ||
|x1= <code>_ownedDLCs = [[getDLCs]] 1;</code>|= | |x1= <code>_ownedDLCs = [[getDLCs]] 1;</code>|EXAMPLE1= | ||
|x2= <code>_hasKarts = (288520 [[in]] ([[getDLCs]] 1));</code>|= | |x2= <code>_hasKarts = (288520 [[in]] ([[getDLCs]] 1));</code>|EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]] |= | | [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]] |SEEALSO= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 14:40, 7 April 2019
Description
- Description:
- Returns array of appIDs of DLCs. A list of all official DLCs:
- 275700 - Zeus
- 249860 - Soundtrack
- 304400 - DLC Bundle 1
- 249861 - Maps
- 249862 - Tactical Guide
- 288520 - Karts
- 304380 - Helicopters
- 332350 - Marksmen
- 395180 - Apex
- 612480 - DLC Bundle 2
- 571710 - Laws of War
- 601670 - Jets
- 744950 - Tac Ops
- 798390 - Tanks
- Groups:
- Uncategorised
Syntax
- Syntax:
- getDLCs filter
- Parameters:
- filter: Number - can be:
0 - all
1 - owned
2 - not owned. - Return Value:
- Array - array of DLC numbers (see above)
Examples
Additional Information
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
Notes
- Posted on April 7, 2015 - 20:27 (UTC)
- Benargee
-
To add to the note above, 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.