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) m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2") |
||
(11 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
* 2 - not owned | * 2 - not owned | ||
|r1= [[Array]] - | |r1= [[Array]] - array of DLC numbers. | ||
|x1= < | |x1= <sqf>_ownedDLCs = getDLCs 1;</sqf> | ||
|x2= < | |x2= <sqf>_hasKarts = (288520 in (getDLCs 1));</sqf> | ||
|seealso= [[getObjectDLC]] | |seealso= [[getObjectDLC]] [[getPersonUsedDLCs]] [[getMissionDLCs]] [[getDLCAssetsUsageByName]] [[getDLCAssetsUsage]] [[getAssetDLCInfo]] | ||
}} | }} | ||
Line 27: | Line 27: | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on | <dd class="notedate">Posted on 2015-04-07 - 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: | 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. |
Latest revision as of 12:40, 8 November 2023
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 2015-04-07 - 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.