getMissionDLCs: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
(formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|arma3 | |||
|1.62 | |game1= arma3 | ||
|version1= 1.62 | |||
|gr1= Mission Information | |gr1= Mission Information | ||
|gr2= DLC | |gr2= DLC | ||
|descr= 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! | |||
|s1= [[getMissionDLCs]] | |||
|r1= [[Array]] - list of DLCs detected for the mission. Example: {{ic|["Orange","Enoch","Expansion","Heli","Contact","Mark","Argo","Jets"]}} | |||
|x1= <code>_usedDLCs = [[getMissionDLCs]];</code> | |||
|seealso= [[getDLCs]] [[getObjectDLC]] [[getPersonUsedDLCs]] [[getDLCAssetsUsageByName]] [[getDLCAssetsUsage]] [[getAssetDLCInfo]] | |||
[[ | }} |
Revision as of 14:04, 7 March 2021
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