getDLCs: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
(formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 1.16 | |||
|gr1= DLC | |gr1= DLC | ||
| Returns array of | |descr= Returns array of app IDs of DLCs. | ||
| [[getDLCs]] filter | |s1= [[getDLCs]] filter | ||
|p1= filter: [[Number]] - can be: | |p1= filter: [[Number]] - can be: | ||
0 - all | * 0 - all | ||
1 - owned | * 1 - owned | ||
2 - not owned | * 2 - not owned | ||
| [[Array]] - | |r1= [[Array]] - Array of DLC numbers. | ||
|x1= <code>_ownedDLCs = [[getDLCs]] 1;</code> | |x1= <code>_ownedDLCs = [[getDLCs]] 1;</code> | ||
Line 24: | Line 25: | ||
}} | }} | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dd class="notedate">Posted on April 7, 2015 - 20:27 (UTC)</dd> | <dd class="notedate">Posted on April 7, 2015 - 20:27 (UTC)</dd> | ||
<dt class="note">[[User:Benargee|Benargee]]</dt> | <dt class="note">[[User:Benargee|Benargee]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
App ID can be found in CfgMods. Here is an example path from zeus using the Splendid Config Viewer: | |||
<code>[[configFile]] >> "CfgMods" >> "Curator" >> "appId"</code> | <code>[[configFile]] >> "CfgMods" >> "Curator" >> "appId"</code> | ||
This method can be used to find app IDs without having to find a list like the one above.<br> | This method can be used to find app IDs without having to find a list like the one above.<br> | ||
Line 35: | Line 35: | ||
</dd> | </dd> | ||
</dl> | </dl> | ||
Revision as of 14:08, 7 March 2021
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:
- getObjectDLCgetPersonUsedDLCsgetMissionDLCsgetDLCAssetsUsageByNamegetDLCAssetsUsagegetAssetDLCInfo
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.