getDLCs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Str moved page getDlcs to getDLCs)
(capitalisation)
Line 20: Line 20:




|x1= <code>_ownedDLCs = [[getDlcs]] 1;</code>|= EXAMPLE1  
|x1= <code>_ownedDLCs = [[getDLCs]] 1;</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


|  [[getObjectDlcs]] |= SEEALSO  
|  [[getObjectDLCs]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 10:01, 24 April 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;

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