getDLCs: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2")
m (Some wiki formatting)
 
Line 24: Line 24:
}}
}}


<dl class="command_description">
{{Note
 
|user= Benargee
<dt></dt>
|timestamp= 20150407202700
<dd class="notedate">Posted on 2015-04-07 - 20:27 (UTC)</dd>
|text= App ID can be found in CfgMods. Here is an example path from zeus using the Splendid Config Viewer:
<dt class="note">[[User:Benargee|Benargee]]</dt>
<dd class="note">
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>
<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.
</dd>
}}
 
</dl>

Latest revision as of 16:32, 10 November 2025

Hover & click on the images for description

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:
_ownedDLCs = getDLCs 1;
Example 2:
_hasKarts = (288520 in (getDLCs 1));

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
Benargee - c
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:
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.