getDLCAssetsUsage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 6: Line 5:
|1.16|Game version=
|1.16|Game version=
|gr1= DLC |GROUP1=
|gr1= DLC |GROUP1=
____________________________________________________________________________________________


| Returns an array of the DLC usage times. |DESCRIPTION=
| Returns an array of the DLC usage times. |DESCRIPTION=
____________________________________________________________________________________________


| [[getDLCAssetsUsage]] |SYNTAX=
| [[getDLCAssetsUsage]] |SYNTAX=
Line 18: Line 15:


|x1= <code>_dlcAssetsUsageInfo = [[getDLCAssetsUsage]];</code>|EXAMPLE1=
|x1= <code>_dlcAssetsUsageInfo = [[getDLCAssetsUsage]];</code>|EXAMPLE1=
____________________________________________________________________________________________


| [[getDLCs]], [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]], [[getDLCAssetsUsageByName]], [[getAssetDLCInfo]] |SEEALSO=
| [[getDLCs]], [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]], [[getDLCAssetsUsageByName]], [[getAssetDLCInfo]] |SEEALSO=


|  |= MP behaviour
|  |= MP behaviour
____________________________________________________________________________________________
}}
}}



Revision as of 02:19, 17 January 2021

Hover & click on the images for description

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

See also:
getDLCsgetObjectDLCgetPersonUsedDLCsgetMissionDLCsgetDLCAssetsUsageByNamegetAssetDLCInfo

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