getDLCs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added example (ty User:Master85))
No edit summary
Line 44: Line 44:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on May 30, 2014 - 18:08 (UTC)</dd>
<dt class="note">'''[[User:Sniperwolf572|Sniperwolf572]]'''</dt>
<dd class="note">
Current list of IDs that correspond to the available DLCs:
<br><br>
275700 - Arma 3 Zeus<br>
249860 - Arma 3 Soundtrack<br>
304400 - Arma 3 DLC Bundle<br>
249861 - Arma 3 Maps<br>
249862 - Arma 3 Tactical Guide<br>
288520 - Arma 3 Karts<br>
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 19:08, 30 May 2014

Hover & click on the images for description

Description

Description:
Returns array of appIDs of DLCs. Use filter param to get specific type of DLCs:
0 - all
1 - owned
2 - not owned
Groups:
Uncategorised

Syntax

Syntax:
getDLCs filter
Parameters:
filter: Number
Return Value:
Array - array of numbers

Examples

Example 1:
_ownedDLCs = getDLCs 1;
Example 2:
Is the Karts DLC owned by this client? hintSilent str (288520 in (getDLCs 1));

Additional Information

See also:
getObjectDLCs

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

Notes

Bottom Section

Posted on May 30, 2014 - 18:08 (UTC)
Sniperwolf572
Current list of IDs that correspond to the available DLCs:

275700 - Arma 3 Zeus
249860 - Arma 3 Soundtrack
304400 - Arma 3 DLC Bundle
249861 - Arma 3 Maps
249862 - Arma 3 Tactical Guide
288520 - Arma 3 Karts