getMissionDLCs

From Bohemia Interactive Community
Revision as of 11:53, 27 July 2022 by Lou Montana (talk | contribs) (Some wiki formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns list of DLCs that are used in the mission.
The list is created from units listed in mission.sqm and does not detect units later created by scripts.
Groups:
Mission InformationDLC

Syntax

Syntax:
getMissionDLCs
Return Value:
Array - list of DLCs detected for the mission

Examples

Example 1:
_usedDLCs = getMissionDLCs; // returns e.g ["Orange","Enoch","Expansion","Heli","Contact","Mark","Argo","Jets"]

Additional Information

See also:
getDLCs getObjectDLC getPersonUsedDLCs 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