getDLCs: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "<dd class="note">([^}]*)<code>([^<]*)<\/code>" to "<dd class="note">$1<sqf>$2</sqf>") |
||
Line 31: | Line 31: | ||
<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: | App ID can be found in CfgMods. Here is an example path from zeus using the Splendid Config Viewer: | ||
< | <sqf>configFile >> "CfgMods" >> "Curator" >> "appId"</sqf> | ||
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> | ||
I am also pretty sure you are able to define your own app ID for your own mods using this method. | I am also pretty sure you are able to define your own app ID for your own mods using this method. |
Revision as of 10:57, 13 May 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
- 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 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:
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.