getDLCs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "")
Line 36: Line 36:
</dl>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 15:34, 15 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
DLC

Syntax

Syntax:
Syntax needed
Parameters:
filter: Number - can be:
0 - all
1 - owned
2 - not owned.
Return Value:
Return value needed

Examples

Example 1:
_ownedDLCs = getDLCs 1;
Example 2:
_hasKarts = (288520 in (getDLCs 1));

Additional Information

See also:
See also needed

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
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.