getDLCUsageTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (replaced link to dlc overview)
m (Text replacement - "_{10,} " to "")
Line 6: Line 6:


|gr1= DLC |GROUP1=
|gr1= DLC |GROUP1=
____________________________________________________________________________________________


|descr= Returns total time the assets of the given DLC have been used. See [[:Category:Arma 3 DLCs & Expansions|Arma 3 DLCs & Expansions]] for a list of DLCs and ids. |Description=
|descr= Returns total time the assets of the given DLC have been used. See [[:Category:Arma 3 DLCs & Expansions|Arma 3 DLCs & Expansions]] for a list of DLCs and ids. |Description=
____________________________________________________________________________________________


|s1= [[getDLCUsageTime]] appId |Syntax=
|s1= [[getDLCUsageTime]] appId |Syntax=
Line 16: Line 14:


|r1= [[Number]] - DLC assets usage time in seconds |Return Value=
|r1= [[Number]] - DLC assets usage time in seconds |Return Value=
____________________________________________________________________________________________


|x1= <code>[[private]] _kartsUsage = [[getDLCUsageTime]] 288520;</code> |Example 1=
|x1= <code>[[private]] _kartsUsage = [[getDLCUsageTime]] 288520;</code> |Example 1=
____________________________________________________________________________________________


|seealso= [[getDLCs]], [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]], [[getDLCAssetsUsageByName]], [[getDLCAssetsUsage]], [[getAssetDLCInfo]] |See Also=
|seealso= [[getDLCs]], [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]], [[getDLCAssetsUsageByName]], [[getDLCAssetsUsage]], [[getAssetDLCInfo]] |See Also=

Revision as of 01:09, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns total time the assets of the given DLC have been used. See Arma 3 DLCs & Expansions for a list of DLCs and ids.
Groups:
DLC

Syntax

Syntax:
getDLCUsageTime appId
Parameters:
appId: Number - DLC's Steam appId
Return Value:
Number - DLC assets usage time in seconds

Examples

Example 1:
private _kartsUsage = getDLCUsageTime 288520;

Additional Information

See also:
getDLCsgetObjectDLCgetPersonUsedDLCsgetMissionDLCsgetDLCAssetsUsageByNamegetDLCAssetsUsagegetAssetDLCInfo

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

Bottom Section