getDLCUsageTime: 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 | ||
|game1= arma3 | |game1= arma3 | ||
|version= 1 | |version= 1 | ||
|gr1= DLC | |gr1= DLC | ||
|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. | |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. | ||
|s1= [[getDLCUsageTime]] appId | |s1= [[getDLCUsageTime]] appId | ||
|p1= appId: [[Number]] - DLC's Steam appId | |p1= appId: [[Number]] - DLC's Steam appId | ||
|r1= [[Number]] - DLC assets usage time in seconds | |r1= [[Number]] - DLC assets usage time in seconds | ||
|x1= <code>[[private]] _kartsUsage = [[getDLCUsageTime]] 288520;</code> | |x1= <code>[[private]] _kartsUsage = [[getDLCUsageTime]] 288520;</code> | ||
|seealso= [[getDLCs]], [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]], [[getDLCAssetsUsageByName]], [[getDLCAssetsUsage]], [[getAssetDLCInfo]] | |seealso= [[getDLCs]], [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]], [[getDLCAssetsUsageByName]], [[getDLCAssetsUsage]], [[getAssetDLCInfo]] | ||
}} | }} | ||
Revision as of 00:34, 18 January 2021
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