getDLCs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(capitalisation)
(Added example (ty User:Master85))
Line 20: Line 20:




|x1= <code>_ownedDLCs = [[getDLCs]] 1;</code>|= EXAMPLE1
|x1= <code>_ownedDLCs = [[getDLCs]] 1;</code>|= Example 1
 
|x2= Is [http://store.steampowered.com/app/288520/ the Karts DLC] ''owned'' by this client?
<code>[[hintSilent]] [[str]] (288520 [[in]] ([[getDLCs]] 1));</code>|= Example 2


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 01:49, 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