getDLCAssetsUsage: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.16 | |1.16 | ||
|gr1= DLC | |gr1= DLC | ||
| Returns an array of the DLC usage times. | | Returns an array of the DLC usage times. | ||
| [[getDLCAssetsUsage]] | | [[getDLCAssetsUsage]] | ||
| [[Array]] - array of DLC usage informations, containing DLC items in format:<br> | | [[Array]] - array of DLC usage informations, containing DLC items in format:<br> | ||
<nowiki>[</nowiki>[name, dlcAppId, sessionTime, totalTime], [name, dlcAppId, sessionTime, totalTime], (…)]<br> | <nowiki>[</nowiki>[name, dlcAppId, sessionTime, totalTime], [name, dlcAppId, sessionTime, totalTime], (…)]<br> | ||
'''NOTE:''' unused assets won't appear in the result (usage time {{=}} 0). | '''NOTE:''' unused assets won't appear in the result (usage time {{=}} 0). | ||
|x1= <code>_dlcAssetsUsageInfo = [[getDLCAssetsUsage]];</code> | |x1= <code>_dlcAssetsUsageInfo = [[getDLCAssetsUsage]];</code> | ||
| [[getDLCs]], [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]], [[getDLCAssetsUsageByName]], [[getAssetDLCInfo]] | | [[getDLCs]], [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]], [[getDLCAssetsUsageByName]], [[getAssetDLCInfo]] | ||
| |= MP behaviour | | |= MP behaviour |
Revision as of 00:37, 18 January 2021
Description
- Description:
- Returns an array of the DLC usage times.
- Groups:
- DLC
Syntax
- Syntax:
- getDLCAssetsUsage
- Return Value:
- Array - array of DLC usage informations, containing DLC items in format:
[[name, dlcAppId, sessionTime, totalTime], [name, dlcAppId, sessionTime, totalTime], (…)]
NOTE: unused assets won't appear in the result (usage time = 0).
Examples
- Example 1:
_dlcAssetsUsageInfo = getDLCAssetsUsage;
Additional Information
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