getMissionDLCs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(formatting)
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.62
|version1= 1.62



Revision as of 15:55, 3 May 2021

Hover & click on the images for description

Description

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

Syntax

Syntax:
getMissionDLCs
Return Value:
Array - list of DLCs detected for the mission. Example: ["Orange","Enoch","Expansion","Heli","Contact","Mark","Argo","Jets"]

Examples

Example 1:
_usedDLCs = getMissionDLCs;

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